#17023: Adding width() function to poset
-------------------------------------+-------------------------------------
Reporter: jmantysalo | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-wishlist
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: Nathann Cohen | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/ticket/17023 | 99f8ed04511d4422eb0874a5332132b4058d8e34
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jmantysalo):
I did some timings. It seems that for something like
`P=Posets.RandomPoset(100,0.15)` or so it is faster to run `max(len(x) for
x in P.antichains())` than `P.width()`. On the other hand the measured
complexity of `.width()` seems to be polynomial as it should.
I will do more test on faster computer, this was done quickly with an
oooold machine.
--
Ticket URL: <http://trac.sagemath.org/ticket/17023#comment:13>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.