public class BooleanCondition extends BasicName implements Condition
| Constructor and Description |
|---|
BooleanCondition() |
BooleanCondition(BooleanCondition booleanCondition) |
BooleanCondition(java.lang.String formula) |
| Modifier and Type | Method and Description |
|---|---|
BooleanCondition |
deepClone()
Clone the name
|
int |
fetch(Membrane membrane,
int times)
fetch objects from membrane
|
int |
satisfy(Membrane membrane)
check if condition satisfy the situation in membrane.
|
java.lang.String |
toString() |
void |
withdrawFetch(Membrane membrane,
int times)
If some conditions in one rule cannot fetch the objects then the conditions
which have fetched the objects they need withdraw the objects they have
fetched.
|
addDimension, addDimension, addDimension, fix, get, getDimensions, getDimensionSize, getName, getNameDim, isFixed, predictPossibleValue, predictPossibleValueOfNeighbor, predictPossibleValueOfObjects, predictPossibleValueOfSubmembrane, setNamepublic BooleanCondition()
public BooleanCondition(BooleanCondition booleanCondition)
public BooleanCondition(java.lang.String formula)
public int satisfy(Membrane membrane)
Conditionpublic int fetch(Membrane membrane, int times)
Conditionpublic void withdrawFetch(Membrane membrane, int times)
ConditionwithdrawFetch in interface Conditionmembrane - the membrane current condition withdraw objects totimes - withdraw fetch timespublic java.lang.String toString()
toString in class java.lang.Objectpublic BooleanCondition deepClone()
Name