ics.TripleApl.PlanningGoalRule Class Reference

List of all members.

Public Member Functions

 PlanningGoalRule (List aHead, Wff aGuard, Plan aBody)
List getHead ()
boolean isHeadEmpty ()
Wff getGuard ()
boolean isGuardEmpty ()
SequencePlan getBody ()
String toString ()

Private Attributes

List head
Wff guard
SequencePlan body
String stringValue

Detailed Description

Class for plans. A PlanningGoalRule has a head, a guard, and a body. Two type are distinguished, with and without a VariableGoal (VarPlan) in its head.

Author:
Meindert Kroese
Version:
2.0, September 2003


Constructor & Destructor Documentation

ics.TripleApl.PlanningGoalRule.PlanningGoalRule List  aHead,
Wff  aGuard,
Plan  aBody
 

The constructor of a plan with a head, a guard and a body. The integer t indicates whether a VarPlan occurs in the head h. A 0 means no VarPlan, a 1 means one or more VarPlans in the head.

Parameters:
aHead the head of the plan.
aGuard the guard of the plan.
aBody the body of the plan.


Member Function Documentation

SequencePlan ics.TripleApl.PlanningGoalRule.getBody  ) 
 

Method to get the body of the plan.

Returns:
SequencePlan, the body of the plan.

Wff ics.TripleApl.PlanningGoalRule.getGuard  ) 
 

Method to get the guard of the plan.

Returns:
Wff, the guard of the plan.

List ics.TripleApl.PlanningGoalRule.getHead  ) 
 

Method to get the head of the plan.

Returns:
SequencePlan, the head of the plan.

boolean ics.TripleApl.PlanningGoalRule.isGuardEmpty  ) 
 

Method to check if the guard is empty.

Returns:
true if the guard is empty.

boolean ics.TripleApl.PlanningGoalRule.isHeadEmpty  ) 
 

Method to check if the head is empty.

Returns:
true if the head is empty.

String ics.TripleApl.PlanningGoalRule.toString  ) 
 

Method returns the PlanningGoalRule in a printable form.

Returns:
String, the PlanningGoalRule in a printable form.


Member Data Documentation

SequencePlan ics.TripleApl.PlanningGoalRule.body [private]
 

Wff ics.TripleApl.PlanningGoalRule.guard [private]
 

List ics.TripleApl.PlanningGoalRule.head [private]
 

String ics.TripleApl.PlanningGoalRule.stringValue [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Dec 12 15:07:23 2005 for 3APL by  doxygen 1.4.5