#17004: Adding height() function to Poset
----------------------------+----------------------------------------------
       Reporter:            |        Owner:
  jmantysalo                |       Status:  needs_review
           Type:            |    Milestone:  sage-duplicate/invalid/wontfix
  enhancement               |   Resolution:
       Priority:  minor     |    Merged in:
      Component:            |    Reviewers:
  combinatorics             |  Work issues:
       Keywords:            |       Commit:
        Authors:            |     Stopgaps:
Report Upstream:  N/A       |
         Branch:            |
   Dependencies:            |
----------------------------+----------------------------------------------
Changes (by jmantysalo):

 * status:  new => needs_review
 * milestone:  sage-6.4 => sage-duplicate/invalid/wontfix


Old description:

> Height of a poset is defined as a length of the longest chain:
>
> {{{
> def height(P):
>     return max([len(x) for x in P.maximal_chains()])
> }}}
>
> but there is probably some faster way?

New description:

 Forget. This ticket can be removed.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/17004#comment:4>
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.

Reply via email to