|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A
- the class for atomic elements in a statepublic interface SequentialPlan<A>
This class class represents a SequentialPlan which is simply a sequence of Actions. Note that all Actions are totally ordered with respect to each other.
Method Summary | |
---|---|
void |
concatenate(SequentialPlan<A> plan)
This function can be used to concatenate two plans. |
java.util.List<Action<A>> |
getActionSequence()
This function returns the List of Actions that constitute this SequentialPlan. |
int |
length()
This function returns the current length of this SequentialPlan. |
Methods inherited from interface ai.planning.Plan |
---|
applyIn, asSequentialPlan, getDomain, solves |
Method Detail |
---|
java.util.List<Action<A>> getActionSequence()
This function returns the List of Actions that constitute this SequentialPlan.
void concatenate(SequentialPlan<A> plan)
This function can be used to concatenate two plans. The result is a SequentialPlan that contains first this plan as its prefix and the given plan as its suffix. The length of the resulting plan will be the sum of the lengths of the two input plans.
plan
- the plan that will be appended to this SequentialPlanint length()
This function returns the current length of this SequentialPlan.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |