Created
April 19, 2018 16:31
-
-
Save maxgutman/7b0f94f45bc6f946557b7d9a0d527736 to your computer and use it in GitHub Desktop.
This file contains 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
def paths_from_to(graph, source, dest): | |
"Find paths in graph from vertex source to vertex dest." | |
a = graph.get_adjlist() | |
n = source.index | |
m = dest.index | |
return adjlist_find_paths(a, n, m) |
Author
maxgutman
commented
Apr 19, 2018
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment