On Sat, 13 Jun 2015, Travis Scrimshaw wrote:

I would make the function which returns a list a private function and then
the public function calls the private one and converts it into a
poset/lattice as overall,

This kind of happens when "private" function is in hasse_diagram.py. It is not meant to be used directly.

However, another thing we might want to consider supporting in the long run
are actual subposets (resp. sublattices), where it is a lightweight parent
which knows which poset it was created from and passes all necessary data
up.

Would be an interesting idea. Would we then have also - for example - a class for product of posets? For example is_graded() for product of A and B would then call A.is_graded() and B.is_graded().

--
Jori Mäntysalo

Reply via email to