#13240: Give posets polynomials (order, characteristic, zeta, etc.)
------------------------------------------+-----------------------------
Reporter: csar | Owner: sage-combinat
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.12
Component: combinatorics | Resolution:
Keywords: sd40, days45 | Merged in:
Authors: Alex Csar, Kevin Dilks | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
------------------------------------------+-----------------------------
Comment (by ncohen):
> well, `chains_with_bounds` has been written to try to cope with your
previous comments, that suggested to avoid copying the poset. And now you
suggest to copy the poset..
Well, yes. The best way out is to not copy the poset, to not call the
{{{.chains()}}} method, and to rewrite what {{{chains()}}} does directly
on this poset, ignoring the top/bottom elements on the fly. There's no
need to copy.
Though if you want to call this {{{chains()}}} method you will enumerate 4
times too many things chains, and you need *each time* to check if the two
vertices belong to the list (by the way, you already know WHERE in the
list they will appear if they do, so you can save time there too).
> Would it be better to make `chains_with_bounds` a hidden method
What about making it an option of "chains" ?
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/13240#comment:29>
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/groups/opt_out.