#18776: From poset to lattice: Do not copy Hasse Diagram
---------------------------------+-----------------------------
       Reporter:  jmantysalo     |        Owner:
           Type:  enhancement    |       Status:  new
       Priority:  major          |    Milestone:  sage-wishlist
      Component:  combinatorics  |   Resolution:
       Keywords:                 |    Merged in:
        Authors:                 |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+-----------------------------

Comment (by jmantysalo):

 Sorry, but I do not understand. What is "required fixed linear
 extensions"?

 For example there is three possible linear extension for the pentagon
 poset. If I do `relabel(lambda i: chr(ord('a')+i))` to it, why I can not
 use exactly same Hasse diagram, and so exactly same linear extension? Or
 to say it by code, what will following break?

 {{{
 P=Posets.PentagonPoset()
 P._elements=('a','b','c','d','e')
 P._element_to_vertex_dict={'a': 0, 'b': 1, 'c': 2, 'd': 3, 'e': 4}
 P._list=('a','b','c','d','e')
 }}}

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