Opened 6 years ago

Last modified 6 years ago

#18941 closed enhancement

Poset documentation polishing: chains — at Version 1

Reported by: jmantysalo Owned by:
Priority: major Milestone: sage-6.9
Component: documentation Keywords:
Cc: tscrim, kdilks Merged in:
Authors: Jori Mäntysalo Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by jmantysalo)

Do some polishing to is_chain_of_poset(), maximal_antichains() and so on at posets.py.

Bugs:

P = Posets.BooleanLattice(3).relabel(lambda x: chr(ord('a')+x))
P.maximal_chains(partial=['b','c'])

outputs ['b', 'c', 'd', 'h'] which is not a chain at all.

Change History (1)

comment:1 Changed 6 years ago by jmantysalo

  • Description modified (diff)
  • Type changed from enhancement to defect

Found a bug -> type changed to defect.

Which one is correct: "Return the chains of the poset.", "Return all the chains of the poset.", "Return all chains of the poset." or "Return chains of the poset."?

Note: See TracTickets for help on using tickets.