|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.algebraic.lattices.BooleanLogic
public final class BooleanLogic
The BooleanLattice class encapsulates the tradionnal boolean algebra.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jscience.mathematics.algebraic.lattices.BooleanAlgebra |
|---|
BooleanAlgebra.Member |
| Field Summary | |
|---|---|
static Boolean |
FALSE
DOCUMENT ME! |
static Boolean |
TRUE
DOCUMENT ME! |
| Method Summary | |
|---|---|
static BooleanLogic |
getInstance()
Constructs a algebra of boolean logic numbers. |
boolean |
isComplement(BooleanAlgebra.Member a,
BooleanAlgebra.Member b)
Returns true if one boolean number is the negative of the other. |
boolean |
isOne(JoinSemiLattice.Member g)
Returns true if the boolean number is equal to one, also named true. |
boolean |
isZero(MeetSemiLattice.Member g)
Returns true if the boolean number is equal to zero, also named false. |
JoinSemiLattice.Member |
one()
Returns the boolean number one. |
MeetSemiLattice.Member |
zero()
Returns the boolean number zero. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Boolean FALSE
public static final Boolean TRUE
| Method Detail |
|---|
public static final BooleanLogic getInstance()
public MeetSemiLattice.Member zero()
zero in interface MeetSemiLatticepublic boolean isZero(MeetSemiLattice.Member g)
isZero in interface MeetSemiLatticeg - DOCUMENT ME!
public JoinSemiLattice.Member one()
one in interface JoinSemiLatticepublic boolean isOne(JoinSemiLattice.Member g)
isOne in interface JoinSemiLatticeg - DOCUMENT ME!
public boolean isComplement(BooleanAlgebra.Member a,
BooleanAlgebra.Member b)
a - DOCUMENT ME!b - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||