bdi4jade.extension.planselection.utilitybased

## Class PlanGoalDependency

- java.lang.Object
- - bdi4jade.extension.planselection.utilitybased.PlanGoalDependency

- Direct Known Subclasses:
    AndPlanGoalDependency, OrPlanGoalDependency

      public abstract class PlanGoalDependency
      extends java.lang.Object

  This abstract class has the common properties and operations of all kinds of plan-goal dependency.
  Author:
    Ingrid Nunes

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `METADATA_NAME`
    `protected Plan` | `root`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PlanGoalDependency(Plan root)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Plan` | `getRoot()` Returns the plan that is the root of the plan-goal dependency, i.e.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### METADATA_NAME

          public static final java.lang.String METADATA_NAME

    - #### root

          protected Plan root

  - ### Constructor Detail

    - #### PlanGoalDependency

          public PlanGoalDependency(Plan root)

  - ### Method Detail

    - #### getRoot

          public Plan getRoot()

      Returns the plan that is the root of the plan-goal dependency, i.e. the plan that depends on one or more goals.
      Returns:
        the root the plan that is the root of this dependency.