de.cesr.lara.components.preprocessor.impl
Class LContributingBoCollector<A extends LaraAgent<A,BO>,BO extends LaraBehaviouralOption<?,BO>>
java.lang.Object
de.cesr.lara.components.preprocessor.impl.LAbstractPpComp<A,BO>
de.cesr.lara.components.preprocessor.impl.LContributingBoCollector<A,BO>
- Type Parameters:
A
- type of agents this BO collector is intended forBO
- 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
!
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LContributingBoCollector
public LContributingBoCollector()
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)