public interface IDeliberationStrategy
Modifier and Type | Method and Description |
---|---|
IFuture<java.lang.Void> |
goalIsActive(RGoal goal)
Called when a goal becomes active.
|
IFuture<java.lang.Void> |
goalIsAdopted(RGoal goal)
Called when a goal has been adopted.
|
IFuture<java.lang.Void> |
goalIsDropped(RGoal goal)
Called when a goal has been dropped.
|
IFuture<java.lang.Void> |
goalIsNotActive(RGoal goal)
Called when a goal is not active any longer (suspended or option).
|
IFuture<java.lang.Void> |
goalIsOption(RGoal goal)
Called when a goal becomes an option.
|
void |
init(IInternalAccess agent)
Init the strategy.
|
void init(IInternalAccess agent)
agent
- The agent.IFuture<java.lang.Void> goalIsAdopted(RGoal goal)
goal
- The goal.IFuture<java.lang.Void> goalIsDropped(RGoal goal)
goal
- The goal.IFuture<java.lang.Void> goalIsOption(RGoal goal)
goal
- The goal.IFuture<java.lang.Void> goalIsActive(RGoal goal)
goal
- The goal.IFuture<java.lang.Void> goalIsNotActive(RGoal goal)
goal
- The goal.