Hello everybody !!!

I am writing a pretty simple code, which generates several subsets of [n]. I
would like to take from this list of subsets the list of maximal elements,
which I feel should be the job of the Poset class, though it looks like it
only accepts DiGraph as an input...

Well, do you think it could be useful to add to it something to create
posets from, for example, a set of elements and a lambda function returning
true or false to represent the partial order ?

I was a bit surprised to find out that :

Set([1,2,3]) <= Set([1,2,4])

I understand it comes from the lexicographic order defined in lists, but
perhaps it could be good to change this too.

I am asking this because I have never worked on this class, and you surely
know better than I do what is good for it... Of course, I will take care of
writing the patch if you agree :-)

Thank youuuuuuuuu !!!

Nathann

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-devel+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to