bdi4jade.goal

## Interface BeliefGoal<K>

- All Superinterfaces:
    jade.content.Concept, jade.content.ContentElement, Goal, java.io.Serializable, jade.content.Term
  All Known Implementing Classes:
    BeliefNotNullValueGoal, BeliefNotPresentGoal, BeliefPresentGoal, BeliefSetHasValueGoal, BeliefValueGoal, PropositionalBeliefValueGoal

      public interface BeliefGoal<K>
      extends Goal

  This class represents the goal of an agent to believe in a certain belief, that is, the agent has a belief whose name is specified in this goal.
  Author:
    Ingrid Nunes

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `K` | `getBeliefName()` Returns the name of the belief associated with this goal.
    `boolean` | `isAchieved(BeliefBase beliefBase)` Checks whether this goal is achieved by checking the provided belief base.

- - ### Method Detail

    - #### getBeliefName

          K getBeliefName()

      Returns the name of the belief associated with this goal.
      Returns:
        the belief name.

    - #### isAchieved

          boolean isAchieved(BeliefBase beliefBase)

      Checks whether this goal is achieved by checking the provided belief base.
      Parameters:
        `beliefBase` - the belief base to be checked.
      Returns:
        true if goal was achieved, false otherwise.