-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show total weight of path in shortest path algorithm. #2954
Conversation
This change adds a field _totalWeight_ to the first node of each path showing the total weight of the path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs simplification.
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @codexnull and @golangcibot)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Removed pathSource field
- Move the weight out of the params and into the subgraph itself
- Renamed field to weight
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @codexnull and @golangcibot)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 3 files at r2.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @golangcibot and @martinmr)
This change adds a field totalWeight to the first node of each path
showing the total weight of the path.
Addresses #2127
This change is