Created
April 19, 2018 16:31
-
-
Save maxgutman/7b0f94f45bc6f946557b7d9a0d527736 to your computer and use it in GitHub Desktop.
Revisions
-
maxgutman created this gist
Apr 19, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ 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)