## Uses of Interface
bdi4jade.goal.Softgoal

- Packages that use Softgoal
  Package | Description
  --- | ---
  bdi4jade.core |
  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.`getAllSoftgoals()` Gets all softgoals of this agent.

    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` | BDIAgent.`dropSoftoal(Softgoal softgoal)` Drops a given softgoal of this agent.

  - ### 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.