i = isGraded P
The poset $P$ is graded if all of its maximalChains are the same length.
Clearly, the $n$ chain and the $n$ booleanLattice are graded.
|
|
|
However, the pentagon lattice is not graded.
|
|
The object isGraded is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Posets.m2:5791:0.