|
|||||||||
| 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.LogicalExpression
org.jscience.computing.ai.planning.LogicalExpressionAtomic
public class LogicalExpressionAtomic
Each atomic term in a logical expression at compile time is represented as an instance of this class.
| Constructor Summary | |
|---|---|
LogicalExpressionAtomic(Predicate logicalAtomIn)
To initialize this atomic logical expression. |
|
| Method Summary | |
|---|---|
java.lang.String |
getInitCode()
This class does not need any initialization code, therefore, this function simply returns an empty String. |
protected void |
propagateVarCount(int varCount)
To propagate the variable count to the logical atom represented by this object. |
java.lang.String |
toCode()
This function produces the Java code to create a PreconditionAtomic object that represents this atomic
logical expression at run time. |
| Methods inherited from class org.jscience.computing.ai.planning.LogicalExpression |
|---|
getClassCnt, getVarCount, setVarCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogicalExpressionAtomic(Predicate logicalAtomIn)
logicalAtomIn - the logical atom this class represents.| Method Detail |
|---|
public java.lang.String getInitCode()
String.
getInitCode in class LogicalExpressionprotected void propagateVarCount(int varCount)
propagateVarCount in class LogicalExpressionvarCount - DOCUMENT ME!public java.lang.String toCode()
PreconditionAtomic object that represents this atomic
logical expression at run time.
toCode in class CompileTimeObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||