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

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

public class DefaultDeliberationFunction
extends java.lang.Object
implements DeliberationFunction

The default implementation of the DeliberationFunction. It selects all intentions to be tried.

Author:
ingrid

Constructor Summary
DefaultDeliberationFunction()
           
 
Method Summary
 java.util.Set<Goal> filter(java.util.Map<Goal,GoalStatus> goals)
          Selects the goals that must be tried to achieve and the ones that will be in the waiting status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDeliberationFunction

public DefaultDeliberationFunction()
Method Detail

filter

public java.util.Set<Goal> filter(java.util.Map<Goal,GoalStatus> goals)
Description copied from interface: DeliberationFunction
Selects the goals that must be tried to achieve and the ones that will be in the waiting status.

Specified by:
filter in interface DeliberationFunction
Parameters:
goals - the list of current goals (that might be intentions).
Returns:
the list of selected goals.
See Also:
DeliberationFunction.filter(java.util.Map)