br.pucrio.inf.les.bdijade.reasoning
Class DefaultGoalSelectionStrategy

java.lang.Object
  extended by br.pucrio.inf.les.bdijade.reasoning.DefaultGoalSelectionStrategy
All Implemented Interfaces:
GoalSelectionStrategy

public class DefaultGoalSelectionStrategy
extends java.lang.Object
implements GoalSelectionStrategy

The default implementation of the GoalSelectionStrategy. It selects all goal to become an intention.

Author:
ingrid

Constructor Summary
DefaultGoalSelectionStrategy()
           
 
Method Summary
 java.util.List<Goal> selectGoal(java.util.List<Goal> goals)
          Selects a goal to became an intention.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGoalSelectionStrategy

public DefaultGoalSelectionStrategy()
Method Detail

selectGoal

public java.util.List<Goal> selectGoal(java.util.List<Goal> goals)
Description copied from interface: GoalSelectionStrategy
Selects a goal to became an intention.

Specified by:
selectGoal in interface GoalSelectionStrategy
Parameters:
goals - the current goals.
Returns:
the selected list of goals.
See Also:
GoalSelectionStrategy.selectGoal(java.util.List)