#18347: implement the shard intersection order on permutations
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  chapoton               |       Status:  needs_work
           Type:         |    Milestone:  sage-6.7
  enhancement            |   Resolution:
       Priority:  minor  |    Merged in:
      Component:         |    Reviewers:
  combinatorics          |  Work issues:
       Keywords:  poset  |       Commit:
        Authors:         |  878ed3a0794d123c46d7cb9ea48ad93ca2d07348
  Frédéric Chapoton      |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/chapoton/18347       |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by vdelecroix):

 Replying to [comment:21 chapoton]:
 > Well. I did implement this just to compute the number of maximal chains
 and the mobius
 > numbers. So only the "abstract" poset was needed. But of course, this is
 more useful to other people if the vertices of the poset are more or less
 labelled by permutations.
 >
 > I do not think nevertheless that it is necessary to have the elements be
 permutations.
 >
 > So I am happy with the current state of things..

 I see. Could you mention somewhere (probably in the docstring of
 `ShardPosetElement` and `ShardPoset`) that the elements are '''not'''
 permutation (for computational reasons). But hopefully they are easily
 recovered:
 {{{
 sage: P = posets.ShardPoset(4)
 sage: mins = P.minimal_elements()[0]
 sage: p = Permutation(mins)
 [2, 3, 4, 1]
 sage: p.decreasing_runs()
 [[2], [3], [4, 1]]
 }}}
 (or a more relevant example)

 Vincent

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