Closed 6bdad4c1-1e26-4f2f-a442-a01a2292c181 closed 12 years ago
Attachment: trac_12235.patch.gz
Reviewer: David Coudert
The patch installs correctly and all test pass (sage -t) with sage-5.0.beta1. I did several experiments on various sizes of GNP graphs with various density. The results are corrects and it is faster than networkx.
Good work !
D.
Merged: sage-5.0.beta2
Helloooooooo !!!
After three days coding a loooot of things that may (or may not) prove useful later, I noticed there was a quick way to fix this crazy slowness in "strongly_connected_components".
I hope I will be able to improve it a bit more later, but I noticed many importants things that need fixing while working on this patch.
NetworkX
Before (Sage)
After (Sage)
I also added a LONG doctests that checks the computations are correct by comparing the result with NetworkX
Now, there are many things left to improve in the library, but I hope this settles the SCC issue reported in https://groups.google.com/d/topic/sage-support/MSTS8fC5fyg/discussion
Yeah ! :-D
Nathann
Component: graph theory
Author: Nathann Cohen
Reviewer: David Coudert
Merged: sage-5.0.beta2
Issue created by migration from https://trac.sagemath.org/ticket/12235