Now we have Posets.RandomPoset(n, p). It generates a poset of n
element. Second argument is propability: p=1.0 will always make chains,
p=0.0 will always make antichains.
Does it sound natural to have syntax like for example
Posets.RandomPoset(10, p, ['graded', 'connected'])
? 3. argument would default to None, meaning that all kind of posets might
be generated. It would be a list of restrictions (usually giving
NotImplemented...). Parameter p should be somehow "normalized" to have
some kind of rational meaning.
--
Jori Mäntysalo
--
You received this message because you are subscribed to the Google Groups
"sage-devel" 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-devel.
For more options, visit https://groups.google.com/d/optout.