bdi4jade.examples.template

## Class MyCapability

- java.lang.Object
- - bdi4jade.core.Capability
  - - bdi4jade.extension.planselection.utilitybased.UtilityBasedCabability
    - - bdi4jade.examples.template.MyCapability

- All Implemented Interfaces:
    java.io.Serializable

      public class MyCapability
      extends UtilityBasedCabability

  Author:
    IngridNunes
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class bdi4jade.extension.planselection.utilitybased.UtilityBasedCabability

      `softgoalPreferences`

    - ### Fields inherited from class bdi4jade.core.Capability

      `beliefBase, id, planLibrary`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MyCapability()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `initPreferences()`
    `protected void` | `setup()` This is an empty holder for being overridden by subclasses.

    - ### Methods inherited from class bdi4jade.core.Capability

      `addAnnotatedFields, addAssociatedCapability, addCandidatePlans, addPartCapability, canAchieve, canHandle, equals, getAssociatedCapabilities, getBeliefBase, getBeliefRevisionStrategy, getDeliberationFunction, getFullId, getGoalOwner, getId, getMyAgent, getOptionGenerationFunction, getParentCapabilities, getPartCapabilities, getPlanLibrary, getPlanSelectionStrategy, getWholeCapability, hashCode, removeAssociatedCapability, removePartCapability, setBeliefRevisionStrategy, setDeliberationFunction, setOptionGenerationFunction, setPlanSelectionStrategy, takeDown, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MyCapability

          public MyCapability()

  - ### Method Detail

    - #### setup

          protected void setup()

      Description copied from class: `Capability`
      This is an empty holder for being overridden by subclasses. It is used to initialize the capability. This method is invoked when this capability is attached to an agent for the first time. It may be used to add initial plans and beliefs. The reasoning strategies of this capability are initialized in the constructor with default strategies. This method may also customize them.
      Overrides:
        `setup` in class `Capability`

    - #### initPreferences

          public void initPreferences()