#11340: Make nauty's geng work as a generator
----------------------------+-----------------------------------------------
Reporter: rbeezer | Owner: jason, ncohen, rlm
Type: defect | Status: new
Priority: minor | Milestone: sage-4.7.1
Component: graph theory | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
----------------------------+-----------------------------------------------
Output produced by nauty's geng program can be quite large. Currently, an
entire list is created and returned. The 1,018,997,864 graphs on n=11
vertices can overwhelm RAM when produced all at once. This patch
reorganizes the {{{nauty_geng()}}} command to produce a generator, so
graphs can be created, tested and then discarded or saved - which would be
the typical use of this command. Of course, for smaller values of n it
is still possible to quickly build a list from the generator.
This also upgrades the system call, since {{{os.popen()}}} is deprecated
in Python.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11340>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.