Repository navigation
Allows weight functions in shortest path functions - #1690
Merged
Merged
Conversation
jfinkels
force-pushed
the
shortest-path-weight-function
branch
2 times, most recently
from
November 4, 2015 15:22
3652900 to
996f38d
Compare
This commit allows the user to provide an arbitrary function that computes the weight of an edge instead of relying on an edge attribute.
jfinkels
force-pushed
the
shortest-path-weight-function
branch
from
January 15, 2016 22:09
996f38d to
ee5421d
Compare
Member
|
This seems OK to me. It touches a few files so would someone else please review and verify? |
Member
|
This caught a bug and provides a feature not advertised--but perhaps worth expanding.
I'm going to merge this and separately commit the few small changes for this file I noticed on the way. Take up discussion of expanding this idea for edge restriction at #1946 |
dschult
added a commit
that referenced
this pull request
Feb 2, 2016
Allows weight functions in shortest path functions
dschult
added a commit
to dschult/networkx
that referenced
this pull request
Feb 2, 2016
Fixed up some docs and whitespace noticed while reviewing networkx#1690. One content change to get cost of uv-edge once in _dijkstra.
dschult
added a commit
to dschult/networkx
that referenced
this pull request
Feb 2, 2016
Fixed up some docs and whitespace noticed while reviewing networkx#1690. One content change to get cost of uv-edge once in _dijkstra.
This was referenced Feb 2, 2016
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit allows the user to provide an arbitrary function that
computes the weight of an edge instead of relying on an edge attribute.
This is a backwards-compatible change.
If this pull request is merged, then pull request #1555 should be updated in the manner described there.