Inheritance diagram for ics.TripleApl.SequencePlan:

Public Member Functions | |
| SequencePlan () | |
| SequencePlan (Plan p) | |
| Plan | copy () |
| void | doSubst (SubstList theta) |
| boolean | equals (Object obj) |
| boolean | equals (Plan plan) |
| boolean | plansMatch (BeliefBase beliefBase, Plan otherPlan, SubstList theta, VarPlanList planSubst) |
| void | doSubstitution (VarPlanList planSubst) |
| void | simplify () |
| void | simplify (BeliefBase bb) |
| String | toString () |
| List | getPlans () |
| void | addPlan (Plan plan) |
| int | size () |
| PlanOption | isExecutable (Agent agent) |
| Plan | executePlan (SubstList theta, SequencePlan scope, Agent agent, AMS ams) |
Private Attributes | |
| LinkedList | plans |
|
|
Constructor of an empty SequencePlan. |
|
|
helper constructor, build sequencegoal with one plan in it |
|
|
Method to add a Plan at the end of a SequencePlan. All types of Plan are allowed, except SequencePlan (this should be fixed in the future).
|
|
|
A method to make a copy of a goal.
Implements ics.TripleApl.Plan. |
|
|
All variables in the Plan which also occur in the SubstList are replaced with their value.
Implements ics.TripleApl.Plan. |
|
|
Replaces all VarPlans in this SequencePlan with their given substitutions, or removed if not substituted.
|
|
|
Method compares Plans on equality of type and content.
Implements ics.TripleApl.Plan. |
|
|
|
|
||||||||||||||||||||
|
Executes the first Plan. Implements ics.TripleApl.Plan. |
|
|
Method which returns the SequencePlan as a List.
|
|
|
Implements ics.TripleApl.Plan. |
|
||||||||||||||||||||
|
Matches this SequencePlan with another SequencePlan, filling the list of VarPlan substitutions when successful substitutions can be made. Implements ics.TripleApl.Plan. |
|
|
Implements ics.TripleApl.Plan. |
|
|
The goal is simplified as far as possible. This means that Wffs in the goal are calculated (arithmatic and boolean) as far as possible. Implements ics.TripleApl.Plan. |
|
|
Method returns the number of Plans in the SequencePlan.
|
|
|
Method to get a printable version of a Goal.
Implements ics.TripleApl.Plan. |
|
|
In this LinkedList the plans from a SequencePlan are kept. |
1.4.5