|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.computing.ai.planning.CompileTimeObject
org.jscience.computing.ai.planning.DelAddElement
org.jscience.computing.ai.planning.DelAddProtection
public class DelAddProtection
Each Protection element in the delete/add list of an
operator both at compile time and run time is represented as an instance of
this class.
| Constructor Summary | |
|---|---|
DelAddProtection(Predicate atomIn)
To initialize this Protection delete/add element. |
|
| Method Summary | |
|---|---|
void |
add(State s,
Term[] binding,
java.util.Vector[] delAddList)
To add this atom to the list of protected atoms. |
boolean |
del(State s,
Term[] binding,
java.util.Vector[] delAddList)
To delete this atom from the list of protected atoms. |
void |
setVarCount(int varCount)
To set the number of variables in this Protection
delete/add element. |
java.lang.String |
toCode()
This function produces Java code to create this Protection delete/add element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelAddProtection(Predicate atomIn)
Protection delete/add element.
atomIn - the atom to be protected/unprotected.| Method Detail |
|---|
public void add(State s,
Term[] binding,
java.util.Vector[] delAddList)
add in class DelAddElements - DOCUMENT ME!binding - DOCUMENT ME!delAddList - DOCUMENT ME!
public boolean del(State s,
Term[] binding,
java.util.Vector[] delAddList)
del in class DelAddElements - DOCUMENT ME!binding - DOCUMENT ME!delAddList - DOCUMENT ME!
public void setVarCount(int varCount)
Protection
delete/add element.
setVarCount in class DelAddElementvarCount - DOCUMENT ME!public java.lang.String toCode()
Protection delete/add element.
toCode in class CompileTimeObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||