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