Package it.unimi.dsi.lama4j
Class AbstractDistributiveLattice
java.lang.Object
it.unimi.dsi.lama4j.AbstractLattice
it.unimi.dsi.lama4j.AbstractDistributiveLattice
- All Implemented Interfaces:
Lattice
public abstract class AbstractDistributiveLattice extends AbstractLattice
An abstract extension of
AbstractLattice
that returns true upon calls to Lattice.isDistributive()
.-
Field Summary
-
Constructor Summary
Constructors Constructor Description AbstractDistributiveLattice()
-
Method Summary
Modifier and Type Method Description boolean
isDistributive()
Return true if this lattice is distributive.Methods inherited from class it.unimi.dsi.lama4j.AbstractLattice
comp, coveringRelation, elements, ensureElementsInLattice, ensureElementsInLattice, ensureElementsInLattice, leq, pscomp, psdiff, symdiff, valueOfZeroOrOne
-
Constructor Details
-
AbstractDistributiveLattice
public AbstractDistributiveLattice()
-
-
Method Details
-
isDistributive
public boolean isDistributive()Description copied from interface:Lattice
Return true if this lattice is distributive.- Specified by:
isDistributive
in interfaceLattice
- Overrides:
isDistributive
in classAbstractLattice
- Returns:
- true if this lattice is distributive.
-