|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.irs.jam.APL
A JAM agent's Applicable Plans List (APL)
Field Summary | |
protected DList |
_intentions
|
Constructor Summary | |
APL(PlanTable pt,
WorldModelTable wm,
IntentionStructure intentionStructure,
int metaLevel)
Generate an Applicable Plan List (APL) from the plans, current state of the world model, and the goals on the intention structure. |
Method Summary | |
protected APLElement |
add(Plan p,
Goal g,
Binding b)
Append an applicable plan onto the list of possibilities |
APLElement |
getFirst()
Retrieve the first applicable plan in the list |
APLElement |
getRandom()
Retrieve a random applicable plan in the list |
int |
getSize()
Determine the number of applicable plans |
APLElement |
getUtilityFirst()
Retrieve the first applicable plan from a list of those with the highest utility |
APLElement |
getUtilityRandom()
Retrieve a random applicable plan from a list of those with the highest utility |
void |
instantiate(Plan plan,
Binding planBinding,
Goal goal)
Go through and find all combinations of variable bindings for the plan/goal combination |
APLElement |
nth(int num)
Retrieve the nth element in the list |
void |
print(java.io.PrintStream s)
Display information about the applicable plans |
protected int |
randomUniform(int range)
Return a random number betweeon 0 and the indicated range |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected DList _intentions
Constructor Detail |
public APL(PlanTable pt, WorldModelTable wm, IntentionStructure intentionStructure, int metaLevel)
Method Detail |
protected APLElement add(Plan p, Goal g, Binding b)
protected int randomUniform(int range)
public int getSize()
public APLElement getFirst()
public APLElement nth(int num)
public APLElement getRandom()
public APLElement getUtilityRandom()
public APLElement getUtilityFirst()
public void instantiate(Plan plan, Binding planBinding, Goal goal)
public void print(java.io.PrintStream s)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |