de.cesr.lara.toolbox.snanalysis.bos
Class LAbstractSNBO<A extends LaraAgent<A,BO>,BO extends LAbstractSNBO<A,BO>>
java.lang.Object
de.cesr.lara.components.LaraProperty<BO,Map<Class<? extends LaraPreference>,Double>>
de.cesr.lara.components.LaraBehaviouralOption<A,BO>
de.cesr.lara.toolbox.snanalysis.bos.LAbstractSNBO<A,BO>
- Type Parameters:
A
- BO
-
- All Implemented Interfaces:
- Comparable<LaraBehaviouralOption<A,BO>>
- Direct Known Subclasses:
- LSNDecreaseActivity, LSNIncreaseActivity
public abstract class LAbstractSNBO<A extends LaraAgent<A,BO>,BO extends LAbstractSNBO<A,BO>>
- extends LaraBehaviouralOption<A,BO>
Methods inherited from class de.cesr.lara.components.LaraBehaviouralOption |
calculateHashCode, compareTo, equals, getAgent, getModifiableUtilities, getModifiedAgentBO, getModifiedBO, getModifiedProperty, getModifiedUtilitiesBO, getTotalSituationalUtility, getValue, hashCode, isCurrentlyApplicable, toString |
LAbstractSNBO
public LAbstractSNBO(String key,
A agent,
Map<Class<? extends LaraPreference>,Double> utilities)
- Parameters:
key
- agent
- utilities
-
computeUtility
public abstract boolean computeUtility(Class<? extends LaraPreference> goal)
- Parameters:
goal
-
- Returns:
- Created by Sascha Holzhauer on 25.01.2010
getSituationalUtilities
public Map<Class<? extends LaraPreference>,Double> getSituationalUtilities(LaraDecisionConfiguration dConfiguration)
- Specified by:
getSituationalUtilities
in class LaraBehaviouralOption<A extends LaraAgent<A,BO>,BO extends LAbstractSNBO<A,BO>>
- Parameters:
dConfig
-
- Returns:
- the current preferenceUtilities of this behavioural option