Skip to content

removed bug and new methods in Poset #10065

@stumpc5

Description

@stumpc5

Poset.dual contained a bug:

P = Poset(([1,2],[[1,2]]))
Q = P.dual()
Q.show()
... AssertionError: `self` should be an acyclic graph

The patch contains the solution for this bug as well as new methods
is_lattice
is_isomorphic
is_selfdual
panyushev_complement
panyushev_orbits

CC: @saliola @fchapoton

Component: combinatorics

Keywords: poset, days30

Reviewer: Franco Saliola

Issue created by migration from https://trac.sagemath.org/ticket/10065

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions