#5421: Speedup is_isomorphic
--------------------------+-------------------------------------------------
Reporter: rlm | Owner: rlm
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.4.1
Component: graph theory | Keywords:
--------------------------+-------------------------------------------------
Based on the thread at
http://groups.google.com/group/sage-
devel/browse_thread/thread/1e3928bc2bffe9a6?pli=1
several speedups have been implemented:
1. Graphs which can be switched to `c_graph` are automatically switched
before isomorphism testing (see thread).
1. Several cheap imports have been moved to module level.
1. One unnecessary step was removed.
Benchmark: Take a list of all isomorphism classes of graphs on 7 vertices.
Take one representative from each, and test each unordered pair for
isomorphism. With underlying `c_graph` implementation, previously was
31.11 seconds, is now 10.71 seconds.
This patch also enables the `implementation` syntax in the graph
generators.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5421>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---