bdi4jade.util.goal

## Class ParallelGoal

- java.lang.Object
- - bdi4jade.util.goal.CompositeGoal
  - - bdi4jade.util.goal.ParallelGoal

- All Implemented Interfaces:
    Goal, jade.content.Concept, jade.content.ContentElement, jade.content.Term, java.io.Serializable

      public class ParallelGoal
      extends CompositeGoal

  This class represents a goal that aims at achieving all goals that compose this goal in a parallel way.
  Author:
    ingrid
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParallelGoal(Goal[] goals)` Creates a new ParallelGoal.
    `ParallelGoal(java.util.Set<Goal> goals)` Creates a new ParallelGoal.

  - ### Method Summary

    - ### Methods inherited from class bdi4jade.util.goal.CompositeGoal

      `getCompletedGoals, getFailedGoal, getGoals, setCompletedGoals, setFailedGoal`

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

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

- - ### Constructor Detail

    - #### ParallelGoal

          public ParallelGoal(Goal[] goals)

      Creates a new ParallelGoal.
      Parameters:
        `goals` - the goals that compose this goal.
      See Also:
        `CompositeGoal.CompositeGoal(Goal[])`

    - #### ParallelGoal

          public ParallelGoal(java.util.Set<Goal> goals)

      Creates a new ParallelGoal.
      Parameters:
        `goals` - the goals that compose this goal.
      See Also:
        `CompositeGoal.CompositeGoal(Collection)`