#12362: Improvement of GNP generators for graphs and digraphs
----------------------------+-----------------------------------------------
Reporter: dcoudert | Owner: jason, ncohen, rlm
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.0
Component: graph theory | Keywords: directed graphs, generators
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
----------------------------+-----------------------------------------------
Comment(by dcoudert):
I have added some ``set_random_seed(0)`` before the tests to ensure that
the results are always the same. I have also removed annoying TABs and
spaces.
The patch should now pass all tests (at least it is the case on my
computer).
However, I don't know how to set the seed inside a cython function. This
could be a nice improvement to this patch. I have checked the
``sage.misc.randstate`` documentation, but I don't understand how to
proceed. Any help is more than welcome.
D.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12362#comment:11>
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.