Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
July 12, 2006, 8:32 am
rate this thread
I have some problems with these two functions in Graph : "diameter" and
"diameter" works only at the first time it's used. If then I added some
other vertices and edges, and call diameter again, it returns the
previous value, no matter how the graph is changed.
"has_a_cycle" should return true when there is a cycle in the graph,
and false if not. However, when there is no cycle, it returns
"uninitialized value" instead of false.
Thanks for help.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum