#17048: Faster Posets.RandomPoset
-------------------------------------+-------------------------------------
Reporter: jmantysalo | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-7.2
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: Jori Mäntysalo | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jmantysalo/faster_posets_randomposet|
728cba835d97b721ca08c71bd93bff0ef3864215
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jmantysalo):
Replying to [comment:6 chapoton]:
> {{{
> #!diff
> + from random import shuffle
> }}}
> unused
True. I removed it.
...and now realized that `shuffle` '''is''' as a Sage function, so it
takes use of `set_random_seed()` and could be used (So, what I was
thinking??). But maybe it makes no real difference anyways, as it is much
faster than creating the poset.
--
Ticket URL: <http://trac.sagemath.org/ticket/17048#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.