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

java.lang.Object
  extended by de.cesr.lara.components.preprocessor.impl.LAbstractPpComp<A,BO>
      extended by de.cesr.lara.components.preprocessor.impl.LContributingBoCollector<A,BO>
Type Parameters:
A - type of agents this BO collector is intended for
BO - type of behavioural options the given BO-memory memorises
All Implemented Interfaces:
LaraAbstractEventSubscriber, LaraInternalEventSubscriber, LaraBOCollector<A,BO>, LaraPreprocessorComp<A,BO>

public class LContributingBoCollector<A extends LaraAgent<A,BO>,BO extends LaraBehaviouralOption<?,BO>>
extends LAbstractPpComp<A,BO>
implements LaraBOCollector<A,BO>

Retrieves all recent behavioural options in memory and checks for each if any utility contributes to the decision represented by this decision builder. NOTE regarding LOGGING: The agent logger for logging BOs is only enabled when the logger for this class is enabled at least for Priority#INFO!


Constructor Summary
LContributingBoCollector()
           
 
Method Summary
 void onInternalEvent(LaraEvent e)
          Retrieves all recent behavioural options in memory and checks for each if any utility contributes to the decision represented by this decision builder even if it is 0.0 or below.
 
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

LContributingBoCollector

public LContributingBoCollector()
Method Detail

onInternalEvent

public void onInternalEvent(LaraEvent e)
Retrieves all recent behavioural options in memory and checks for each if any utility contributes to the decision represented by this decision builder even if it is 0.0 or below. Contributing behavioural options are returned. See LOmitZeroContributingBOCollector.

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