#18562: LatticePoset: add random_maximal_sublattice()
-------------------------------------+-------------------------------------
       Reporter:  jmantysalo         |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-wishlist
      Component:  combinatorics      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jori Mäntysalo     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jmantysalo/latticeposet__add_random_maximal_sublattice__|  
f9ab830ba5e62e54df37321b4261b012407fd283
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by jmantysalo):

 * cc: chapoton, ncohen (added)
 * commit:   => f9ab830ba5e62e54df37321b4261b012407fd283


Comment:

 On the road to `frattini_sublattice()`... but first a smaller function.

 1) What the ¤$#@@& for sphinx complains about indentation?

 2) Should I mention the "algorithm"? That is, to say that I just get a
 random permutation `p` of elements and then try to add elements in `p` one
 by one, skipping those where adding it would generate whole lattice.

 3) This is slower than it should be, because it is unneeded for
 `sublattice` to return a lattice (plain list would do). But I think that
 this is fast enought for at least testing.

 4) What you say about `element_constructor` -parameter?

 (Sidenote: I also added `sublattice()` to index of functions.)

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