public interface Element
Each lattice element has a reference to the containing lattice, and provides a number of utility methods that make it easy to write down expressions and perform computations.
| Modifier and Type | Method and Description |
|---|---|
boolean |
comp(Element element)
Return whether this element is comparable with the provided element.
|
Element |
join(Element... element)
Return the join of this element and of the provided elements.
|
Element |
join(Element element)
Return the join of this element and of the provided element.
|
Lattice |
lattice()
Return the lattice containing this element.
|
boolean |
leq(Element element)
Return whether this element is less than or equal to the provided element in the order of
the containing lattice. |
Element |
meet(Element... element)
Return the meet of this element and of the provided elements.
|
Element |
meet(Element element)
Return the meet of this element and of the provided element.
|
Element |
pscomp(Element element)
Return the pseudocomplement of this element relative to another element (optional operation).
|
Element |
psdiff(Element element)
Return the difference of this element with another element (optional operation).
|
Element |
symdiff(Element element)
Return the symmetric difference between this element and another element (optional operation).
|
Element meet(Element... element)
element - the elements whose meet, together with this element, has to be computed.Element meet(Element element)
element - the element whose meet, together with this element, has to be computed.Element join(Element... element)
element - the elements whose join, together with this element, has to be computed.Element join(Element element)
element - the element whose join, together with this element, has to be computed.boolean comp(Element element)
element - an element.element, false otherwise.boolean leq(Element element)
the containing lattice.element - an element.element,
false otherwise.Element psdiff(Element element)
element - an element.element.Lattice.psdiff(Element, Element)Element pscomp(Element element)
element - an element.element.Lattice.pscomp(Element, Element)Element symdiff(Element element)
element - an element.element.Lattice.symdiff(Element, Element)Lattice lattice()