Package jadex.bdi.runtime
Interface IDeliberationStrategy
- All Known Implementing Classes:
EasyDeliberationStrategy
public interface IDeliberationStrategy
Interface for goal deliberation strategies.
-
Method Summary
Modifier and TypeMethodDescriptionjadex.future.IFuture
<Void> goalIsActive
(RGoal goal) Called when a goal becomes active.jadex.future.IFuture
<Void> goalIsAdopted
(RGoal goal) Called when a goal has been adopted.jadex.future.IFuture
<Void> goalIsDropped
(RGoal goal) Called when a goal has been dropped.jadex.future.IFuture
<Void> goalIsNotActive
(RGoal goal) Called when a goal is not active any longer (suspended or option).jadex.future.IFuture
<Void> goalIsOption
(RGoal goal) Called when a goal becomes an option.void
init()
Init the strategy.
-
Method Details
-
init
void init()Init the strategy.- Parameters:
agent
- The agent.
-
goalIsAdopted
Called when a goal has been adopted.- Parameters:
goal
- The goal.
-
goalIsDropped
Called when a goal has been dropped.- Parameters:
goal
- The goal.
-
goalIsOption
Called when a goal becomes an option.- Parameters:
goal
- The goal.
-
goalIsActive
Called when a goal becomes active.- Parameters:
goal
- The goal.
-
goalIsNotActive
Called when a goal is not active any longer (suspended or option).- Parameters:
goal
- The goal.
-