## Uses of Interface
bdi4jade.belief.Belief

- Packages that use Belief
  Package | Description
  --- | ---
  bdi4jade.belief | This package contains interfaces and classes that allows representation of beliefs of an agent, which are stored in belief bases, part of agent capabilities.
  bdi4jade.core |
  bdi4jade.event | This package contains interfaces and classes that allows creating listeners of events that occur in an agent, such as updating beliefs or achieving goals, and representing such events.
  bdi4jade.exception | This package contains interfaces and classes that allows representation of exceptions that may occur during the execution of BDI agents.
  bdi4jade.extension.planselection.utilitybased |

- - ### Uses of Belief in bdi4jade.belief

    Subinterfaces of Belief in bdi4jade.belief
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `BeliefSet<T>` This interface represents a belief that has a set of values associated with it.

    Classes in bdi4jade.belief that implement Belief
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractBelief<T>` This is an abstract class that implements the `Belief` interface.
    `class` | `AbstractBeliefSet<T>` This is an abstract class that implements the `BeliefSet` interface, and extends the `AbstractBeliefSet` class, parameterizing it with a parameterized `Set`.
    `class` | `PersistentBelief<T>` This class extends the `Belief` and represents a persistent belief, which is persisted in a permanent memory.
    `class` | `TransientBelief<T>` This class extends the `AbstractBelief` class and represents a transient belief, which is not persisted in a permanent memory.
    `class` | `TransientBeliefSet<T>` This class extends the `AbstractBeliefSet` class and implements `BeliefSet` interface, representing a transient belief set, which is not persisted in a permanent memory.

    Methods in bdi4jade.belief that return Belief
    Modifier and Type | Method and Description
    --- | ---
    `Belief<?>` | BeliefBase.`getBelief(java.lang.String name)` Retrieves a belief from the belief base.
    `Belief<?>` | BeliefBase.`removeBelief(java.lang.String name)` Removes a belief from the belief base.

    Methods in bdi4jade.belief that return types with arguments of type Belief
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Collection<Belief<?>>` | BeliefBase.`getAllBeliefs()` Gets all beliefs of this belief base and the belief bases of the whole-capabilities of the capability that this belief base belongs to.
    `java.util.Set<Belief<?>>` | BeliefBase.`getBeliefs()` Gets all beliefs of this specific belief base.

    Methods in bdi4jade.belief with parameters of type Belief
    Modifier and Type | Method and Description
    --- | ---
    `void` | BeliefBase.`addBelief(Belief<?> belief)` Adds a belief to the belief base.
    `void` | BeliefBase.`addOrUpdateBelief(Belief<?> belief)` Adds a belief to the belief base.

    Constructor parameters in bdi4jade.belief with type arguments of type Belief
    Constructor and Description
    `BeliefBase(Capability capability, java.util.Set<Belief<?>> beliefs)` Creates a belief base associated with a capability and adds the beliefs in the provided belief set as the initial beliefs of this belief base.

  - ### Uses of Belief in bdi4jade.core

    Methods in bdi4jade.core that return types with arguments of type Belief
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Collection<Belief<?>>` | BDIAgent.`getAllBeliefs()` Returns a collection of all beliefs from all capabilities of this agent.

    Constructor parameters in bdi4jade.core with type arguments of type Belief
    Constructor and Description
    `Capability(java.util.Set<Belief<?>> initialBeliefs, java.util.Set<Plan> initialPlans)` Creates a new capability.
    `Capability(java.lang.String id, Capability wholeCapability, java.util.Set<Belief<?>> initialBeliefs, java.util.Set<Plan> initialPlans)` Creates a new capability.
    `Capability(java.lang.String id, java.util.Set<Belief<?>> initialBeliefs, java.util.Set<Plan> initialPlans)` Creates a new capability.

  - ### Uses of Belief in bdi4jade.event

    Methods in bdi4jade.event that return Belief
    Modifier and Type | Method and Description
    --- | ---
    `Belief<?>` | BeliefEvent.`getBelief()` Returns the belief over which the event has occurred.

    Methods in bdi4jade.event with parameters of type Belief
    Modifier and Type | Method and Description
    --- | ---
    `void` | BeliefEvent.`setBelief(Belief<?> belief)` Sets the belief over which the event has occurred.

    Constructors in bdi4jade.event with parameters of type Belief
    Constructor and Description
    `BeliefEvent(Belief<?> belief)` Creates a belief event.
    `BeliefEvent(Belief<?> belief, BeliefEvent.Action action)` Creates a belief event.
    `BeliefEvent(Belief<?> belief, BeliefEvent.Action action, java.lang.Object args)` Creates a belief event.

  - ### Uses of Belief in bdi4jade.exception

    Methods in bdi4jade.exception that return Belief
    Modifier and Type | Method and Description
    --- | ---
    `Belief<?>` | BeliefAlreadyExistsException.`getBelief()`

    Constructors in bdi4jade.exception with parameters of type Belief
    Constructor and Description
    `BeliefAlreadyExistsException(Belief<?> belief)` Creates a new instance of BeliefAlreadyExistsException.

  - ### Uses of Belief in bdi4jade.extension.planselection.utilitybased

    Classes in bdi4jade.extension.planselection.utilitybased that implement Belief
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SoftgoalPreferences` This is an agent transient belief (@see `TransientBelief`) that stores the preferences for softgoals.