This works:
graphs.CubeGraph(4).shortest_paths('0000')
but this don't:
graphs.CubeGraph(4).shortest_path_all_pairs()

Maybe the "shortest_path_all_pairs" function needs a
"by_weight=False"   parameter too (like the other shortest paths
functions).

I also would like to have a function  "all_shortest_paths(u,v)", which
returns all shortest paths from u to v.
I know i could use "all_paths" and then pick the shortest, but that's
really inefficient.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to