public abstract class StrategicModel extends java.lang.Object implements Updatable
HumanAgent
.
They include the planning, goals and blief of a HumanAgent
.Modifier and Type | Field and Description |
---|---|
private BeliefModule |
beliefModule
The belief module.
|
private GoalModule |
goalModule
The goal module.
|
private PlanningModule |
planner
The activity planner.
|
Constructor and Description |
---|
StrategicModel(PlanningModule planner,
GoalModule goalModule,
BeliefModule beliefModule)
Creates a strategic model.
|
Modifier and Type | Method and Description |
---|---|
PlanningModule |
getActivityPlanner()
Gets the activity planner.
|
BeliefModule |
getBeliefModule()
Gets the belief module.
|
GoalModule |
getGoalModule()
Gets the goal module.
|
void |
init(ObservationModule observationModule)
Initializes the strategic model.
|
void |
update(int timeStep)
Updates the updatable element.
|
abstract boolean |
wantsToBeDestroyed()
Determines if the agent wants to be removed from the simulation.
|
private PlanningModule planner
private GoalModule goalModule
private BeliefModule beliefModule
public StrategicModel(PlanningModule planner, GoalModule goalModule, BeliefModule beliefModule)
planner
- The planner.goalModule
- The goal module.beliefModule
- The belief module.public PlanningModule getActivityPlanner()
public BeliefModule getBeliefModule()
public GoalModule getGoalModule()
public abstract boolean wantsToBeDestroyed()
public void init(ObservationModule observationModule)
observationModule
- The observation module.