Interface IDeliberationStrategy

  • All Known Implementing Classes:
    EasyDeliberationStrategy

    public interface IDeliberationStrategy
    Interface for goal deliberation strategies.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      IFuture<java.lang.Void> goalIsActive​(jadex.bdiv3.runtime.impl.RGoal goal)
      Called when a goal becomes active.
      IFuture<java.lang.Void> goalIsAdopted​(jadex.bdiv3.runtime.impl.RGoal goal)
      Called when a goal has been adopted.
      IFuture<java.lang.Void> goalIsDropped​(jadex.bdiv3.runtime.impl.RGoal goal)
      Called when a goal has been dropped.
      IFuture<java.lang.Void> goalIsNotActive​(jadex.bdiv3.runtime.impl.RGoal goal)
      Called when a goal is not active any longer (suspended or option).
      IFuture<java.lang.Void> goalIsOption​(jadex.bdiv3.runtime.impl.RGoal goal)
      Called when a goal becomes an option.
      void init​(IInternalAccess agent)
      Init the strategy.
    • Method Detail

      • init

        void init​(IInternalAccess agent)
        Init the strategy.
        Parameters:
        agent - The agent.
      • goalIsAdopted

        IFuture<java.lang.Void> goalIsAdopted​(jadex.bdiv3.runtime.impl.RGoal goal)
        Called when a goal has been adopted.
        Parameters:
        goal - The goal.
      • goalIsDropped

        IFuture<java.lang.Void> goalIsDropped​(jadex.bdiv3.runtime.impl.RGoal goal)
        Called when a goal has been dropped.
        Parameters:
        goal - The goal.
      • goalIsOption

        IFuture<java.lang.Void> goalIsOption​(jadex.bdiv3.runtime.impl.RGoal goal)
        Called when a goal becomes an option.
        Parameters:
        goal - The goal.
      • goalIsActive

        IFuture<java.lang.Void> goalIsActive​(jadex.bdiv3.runtime.impl.RGoal goal)
        Called when a goal becomes active.
        Parameters:
        goal - The goal.
      • goalIsNotActive

        IFuture<java.lang.Void> goalIsNotActive​(jadex.bdiv3.runtime.impl.RGoal goal)
        Called when a goal is not active any longer (suspended or option).
        Parameters:
        goal - The goal.