## Uses of Interface
bdi4jade.goal.Softgoal

- Packages that use Softgoal
  Package | Description
  --- | ---
  bdi4jade.core | This package contains the key classes of BDI4JADE.
  bdi4jade.extension.planselection.utilitybased |
  bdi4jade.goal | This package contains interfaces and classes that allows representation of goals and softgoals of an agent.

- - ### Uses of Softgoal in bdi4jade.core

    Methods in bdi4jade.core that return types with arguments of type Softgoal
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<Softgoal>` | BDIAgent.`getSoftgoals()` Gets all softgoals of this agent.
    `java.util.Set<Softgoal>` | AbstractBDIAgent.`getSoftgoals()`

    Methods in bdi4jade.core with parameters of type Softgoal
    Modifier and Type | Method and Description
    --- | ---
    `void` | BDIAgent.`addSoftgoal(Softgoal softgoal)` Adds a new softgoal to this agent.
    `void` | AbstractBDIAgent.`addSoftgoal(Softgoal softgoal)`
    `void` | BDIAgent.`dropSoftoal(Softgoal softgoal)` Drops a given softgoal of this agent.
    `void` | AbstractBDIAgent.`dropSoftoal(Softgoal softgoal)`

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

    Methods in bdi4jade.extension.planselection.utilitybased that return Softgoal
    Modifier and Type | Method and Description
    --- | ---
    `Softgoal` | PlanContribution.`getSoftgoal()`

    Methods in bdi4jade.extension.planselection.utilitybased with parameters of type Softgoal
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Double` | SoftgoalPreferences.`getPreferenceForSoftgoal(Softgoal softgoal)` Returns the preference for a softgoal.
    `void` | SoftgoalPreferences.`setPreferenceForSoftgoal(Softgoal softgoal, java.lang.Double preference)` Sets the preference for a softgoal.

    Constructors in bdi4jade.extension.planselection.utilitybased with parameters of type Softgoal
    Constructor and Description
    `PlanContribution(Softgoal softgoal)`
    `PlanContribution(Softgoal softgoal, java.lang.Double probability, java.lang.Double value)`

  - ### Uses of Softgoal in bdi4jade.goal

    Classes in bdi4jade.goal that implement Softgoal
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NamedSoftgoal` This class provides a default implementation for a softgoal, representing it just with a given name.