#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:
----------------------------+-----------------------------------------------
Description changed by ncohen:
Old description:
> The RandomDirectedGNP generator is quit slow because it is written in
> python. Also I propose to rewrite it in Cython.
>
> With this ticket, I propose to create a file graph_generators_pyx.pyx
> containing graphs and digraphs generators in cython and to provide a
> faster implementation of the GNP generator for both graphs and digraphs.
New description:
The RandomDirectedGNP generator is quit slow because it is written in
python. Also I propose to rewrite it in Cython.
With this ticket, I propose to create a file graph_generators_pyx.pyx
containing graphs and digraphs generators in cython and to provide a
faster implementation of the GNP generator for both graphs and digraphs.
APPLY:
* [attachment:trac_12362_random_gnp.patch]
* [attachment:trac_12362-rev.patch]
* [attachment:trac_12362-rev-rev.patch]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12362#comment:17>
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.