de.cesr.lara.components.preprocessor.impl
Class LDefaultDecisionModeSelector<A extends LaraAgent<A,BO>,BO extends LaraBehaviouralOption<?,? extends BO>>

java.lang.Object
  extended by de.cesr.lara.components.preprocessor.impl.LAbstractPpComp<A,BO>
      extended by de.cesr.lara.components.preprocessor.impl.LDefaultDecisionModeSelector<A,BO>
All Implemented Interfaces:
LaraAbstractEventSubscriber, LaraInternalEventSubscriber, LaraDecisionModeSelector<A,BO>, LaraPreprocessorComp<A,BO>
Direct Known Subclasses:
DecisionModeSelector, MyDecisionModeSelector, MyModeSelector

public class LDefaultDecisionModeSelector<A extends LaraAgent<A,BO>,BO extends LaraBehaviouralOption<?,? extends BO>>
extends LAbstractPpComp<A,BO>
implements LaraDecisionModeSelector<A,BO>


Constructor Summary
LDefaultDecisionModeSelector()
           
 
Method Summary
protected  boolean customIsDelibaterive(LPpModeSelectorEvent event)
          hook method for custom implementations
 void onInternalEvent(LaraEvent e)
          Always selects the laraBoRows deliberation mode ( LDeliberativeDeciderFactory.
 
Methods inherited from class de.cesr.lara.components.preprocessor.impl.LAbstractPpComp
castEvent, logBOs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.cesr.lara.components.preprocessor.LaraPreprocessorComp
castEvent
 

Constructor Detail

LDefaultDecisionModeSelector

public LDefaultDecisionModeSelector()
Method Detail

onInternalEvent

public void onInternalEvent(LaraEvent e)
Always selects the laraBoRows deliberation mode ( LDeliberativeDeciderFactory. This default implementation is used in LPreprocessor. PP component order:
  1. LPpBoCollectorEvent
  2. LPpBoPreselectorEvent
  3. LPpBoUtilityUpdaterEvent
  4. LPpPreferenceUpdaterEvent

Specified by:
onInternalEvent in interface LaraInternalEventSubscriber
See Also:
de.cesr.lara.components.preprocessor.LaraDecisionModeSelector#onInternalEvent(de.cesr.lara.components.preprocessor.event.LPpModeSelectorEvent)

customIsDelibaterive

protected boolean customIsDelibaterive(LPpModeSelectorEvent event)
hook method for custom implementations

Returns:
true if deliberative decision is desired