| Constructor and Description |
|---|
ObjectCondition() |
ObjectCondition(ObjectCondition objectCondition) |
ObjectCondition(PObject object,
int num) |
ObjectCondition(java.lang.String name,
int num,
java.lang.String... dims) |
| Modifier and Type | Method and Description |
|---|---|
ObjectCondition |
deepClone()
Clone the name
|
boolean |
equals(java.lang.Object obj) |
int |
fetch(Membrane membrane,
int times)
fetch objects from membrane
|
int |
getNum() |
int |
hashCode() |
int |
satisfy(Membrane membrane)
check if condition satisfy the situation in membrane.
|
void |
setNum(int num) |
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.
|
isAnti, isAntiObject, setAnti, setNameaddDimension, addDimension, addDimension, fix, get, getDimensions, getDimensionSize, getName, getNameDim, isFixed, predictPossibleValue, predictPossibleValueOfNeighbor, predictPossibleValueOfObjects, predictPossibleValueOfSubmembranegetName, getNameDimaddDimension, addDimension, addDimension, fix, get, getDimensions, getDimensionSize, isFixed, predictPossibleValuepublic ObjectCondition()
public ObjectCondition(ObjectCondition objectCondition)
public ObjectCondition(PObject object, int num)
public ObjectCondition(java.lang.String name,
int num,
java.lang.String... dims)
public int getNum()
public void setNum(int num)
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 ObjectCondition deepClone()
Name