public class BooleanLattice extends AbstractDomainLattice
PartialComparator.PartialComparisonResult| Modifier and Type | Field and Description |
|---|---|
static AbstractDomainElement[] |
ABSTRACT_DOMAIN_ELEMS
All elements of this abstract domain.
|
private static BooleanLattice |
INSTANCE
The singleton instance of the lattice.
|
| Modifier | Constructor and Description |
|---|---|
private |
BooleanLattice()
Private constructor: Singleton.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanLattice |
getInstance() |
java.util.Iterator<AbstractDomainElement> |
iterator()
Iterates through the abstract domain elements of this abstract domain
starting by the smallest element; if an element b is returned by the
iterator after an element a, then either compare(a,b) == LTE, or
compare(a,b) == UNDEF must hold (i.e., b may not be smaller than a).
|
AbstractDomainElement |
join(AbstractDomainElement elem1,
AbstractDomainElement elem2)
A lattice join operation; finds an abstract element that is the least
upper bound of the set consisting of the elements a and b.
|
abstractFrom, compare, fromString, getSideConditionForAxiompublic static final AbstractDomainElement[] ABSTRACT_DOMAIN_ELEMS
private static final BooleanLattice INSTANCE
public static BooleanLattice getInstance()
public AbstractDomainElement join(AbstractDomainElement elem1, AbstractDomainElement elem2)
AbstractDomainLatticejoin in class AbstractDomainLatticeelem1 - First element to find the least upper bound for.elem2 - Second element to find the least upper bound for.public java.util.Iterator<AbstractDomainElement> iterator()
AbstractDomainLatticeiterator in interface java.lang.Iterable<AbstractDomainElement>iterator in class AbstractDomainLattice