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

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

public class DefaultIntentionSelectionStrategy
extends java.lang.Object
implements IntentionSelectionStrategy

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

Author:
ingrid

Constructor Summary
DefaultIntentionSelectionStrategy()
           
 
Method Summary
 java.util.List<Intention> selectIntentions(java.util.List<Intention> intentions)
          Selects the intentions that must be tried again.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIntentionSelectionStrategy

public DefaultIntentionSelectionStrategy()
Method Detail

selectIntentions

public java.util.List<Intention> selectIntentions(java.util.List<Intention> intentions)
Description copied from interface: IntentionSelectionStrategy
Selects the intentions that must be tried again.

Specified by:
selectIntentions in interface IntentionSelectionStrategy
Parameters:
intentions - the list of intentions whose plan has failed.
Returns:
the list of intentions that must be tried again.
See Also:
IntentionSelectionStrategy.selectIntentions(java.util.List)