|
|||||||||
| 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.InternalElement
org.jscience.computing.ai.planning.InternalMethod
public class InternalMethod
Each method at compile time is represented as an instance of this class.
| Constructor Summary | |
|---|---|
InternalMethod(Predicate head,
java.util.Vector labelsIn,
java.util.Vector presIn,
java.util.Vector subsIn)
To initialize an InternalMethod object. |
|
| Method Summary | |
|---|---|
java.lang.String |
toCode()
This function produces the Java code needed to implement this method. |
| Methods inherited from class org.jscience.computing.ai.planning.InternalElement |
|---|
getCnt, getHead |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InternalMethod(Predicate head,
java.util.Vector labelsIn,
java.util.Vector presIn,
java.util.Vector subsIn)
InternalMethod object.
head - head of the method (i.e., the compound task which can be
decomposed by using this method).labelsIn - a Vector of String labels.presIn - a Vector of logical preconditions.subsIn - a Vector of task lists.| Method Detail |
|---|
public java.lang.String toCode()
toCode in class CompileTimeObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||