public class CompositeGoalCapability extends Capability implements GoalListener
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeGoalCapability.MyGoal1 |
class |
CompositeGoalCapability.MyGoal2 |
class |
CompositeGoalCapability.MyGoal3 |
beliefBase, id, myAgent, partCapabilities, planLibrary, wholeCapability| Constructor and Description |
|---|
CompositeGoalCapability(boolean sequential) |
| Modifier and Type | Method and Description |
|---|---|
void |
goalPerformed(GoalEvent event)
Notifies the listener that a goal that was performed.
|
protected void |
setup()
This is an empty holder for being overridden by subclasses.
|
addPartCapability, canProcess, getBeliefBase, getId, getMyAgent, getPartCapabilities, getPlanLibrary, getWholeCapability, hasParts, removePartCapability, reviewBeliefs, setMyAgent, toStringpublic void goalPerformed(GoalEvent event)
GoalListenergoalPerformed in interface GoalListenerevent - the goal event that occurred.protected void setup()
Capabilitysetup in class Capability