Interface IBDIAgentFeature

    • Method Detail

      • getGoals

        <T> java.util.Collection<T> getGoals​(java.lang.Class<T> clazz)
        Get the goals of a given type as pojos.
        Parameters:
        clazz - The pojo goal class.
        Returns:
        The currently instantiated goals of that type.
      • getGoals

        java.util.Collection<IGoal> getGoals()
        Get the current goals as api representation.
        Returns:
        All currently instantiated goals.
      • getGoal

        IGoal getGoal​(java.lang.Object goal)
        Get the goal api representation for a pojo goal.
        Parameters:
        goal - The pojo goal.
        Returns:
        The api goal.
      • dropGoal

        void dropGoal​(java.lang.Object goal)
        Drop a pojo goal.
        Parameters:
        goal - The pojo goal.
      • addBeliefListener

        void addBeliefListener​(java.lang.String name,
                               IBeliefListener<?> listener)
        Add a belief listener.
        Parameters:
        name - The belief name.
        listener - The belief listener.
      • removeBeliefListener

        void removeBeliefListener​(java.lang.String name,
                                  IBeliefListener<?> listener)
        Remove a belief listener.
        Parameters:
        name - The belief name.
        listener - The belief listener.