|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectformulaVisited.Environment
public class Environment
An environment in which to evaluate a formula. The environment may contain definitions of logical variables (true or false).
| Constructor Summary | |
|---|---|
Environment()
Constructs a new, empty environment. |
|
| Method Summary | |
|---|---|
void |
bind(LogicalVariable _variable,
boolean _value)
Binds a logical variable to a boolean value. |
java.lang.Boolean |
get(LogicalVariable _variable)
Get the binding of a logical variable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Environment()
| Method Detail |
|---|
public void bind(LogicalVariable _variable,
boolean _value)
_variable - The logical variable._value - Its boolean value.public java.lang.Boolean get(LogicalVariable _variable)
_variable - The logical variable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||