#18567: LatticePoset: add maximal_sublattices()
-------------------------------------+-------------------------------------
Reporter: jmantysalo | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.8
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: Jori Mäntysalo | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jmantysalo/latticeposet__add_maximal_sublattices_iterator__|
8dbb1d8e2b57bc044fcfa51e2ee435f2b51143f2
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jmantysalo):
Here is one test lattice:
{{{
z={'d': [1,2,3], 1:['l', 4], 2:[4,'c'], 3:['r',4], 4:[5], 5:[6,13],
6:[7,11], 7:[8,14], 8:[9,12], 9:[10,15], 10:['u'], 'l':[11], 11:[12],
12:['u'], 'r':[13], 13:[14], 14:[15], 15:['u'], 'c':[10]}
M3min=LatticePoset(z)
}}}
(from http://www.math.hawaii.edu/~ralph/Preprints/combined.pdf you can
find more). Do you want some test code? You can make a random lattice (for
example random poset + `completion_by_cuts()`), and test by adding one
random element to maximal sublattice - it should generate whole lattice.
Or make a test like #18562 and see if a random maximal sublattice is found
in the list of sublattices.
--
Ticket URL: <http://trac.sagemath.org/ticket/18567#comment:10>
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.