de.cesr.lara.toolbox.snanalysis.bos
Class LSNIncreaseActivity<A extends LaraAgent<A,LSNIncreaseActivity<A>>>
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,LSNIncreaseActivity<A>>
de.cesr.lara.toolbox.snanalysis.bos.LSNIncreaseActivity<A>
- Type Parameters:
A
-
- All Implemented Interfaces:
- Comparable<LaraBehaviouralOption<A,LSNIncreaseActivity<A>>>
public class LSNIncreaseActivity<A extends LaraAgent<A,LSNIncreaseActivity<A>>>
- extends LAbstractSNBO<A,LSNIncreaseActivity<A>>
Methods inherited from class de.cesr.lara.components.LaraBehaviouralOption |
calculateHashCode, compareTo, equals, getAgent, getModifiableUtilities, getModifiedAgentBO, getModifiedProperty, getModifiedUtilitiesBO, getTotalSituationalUtility, getValue, hashCode, isCurrentlyApplicable, toString |
LSNIncreaseActivity
public LSNIncreaseActivity(String key,
A agent,
Map<Class<? extends LaraPreference>,Double> utilities)
- Parameters:
key
- agent
- utilities
-
computeUtility
public boolean computeUtility(Class<? extends LaraPreference> goal)
- Specified by:
computeUtility
in class LAbstractSNBO<A extends LaraAgent<A,LSNIncreaseActivity<A>>,LSNIncreaseActivity<A extends LaraAgent<A,LSNIncreaseActivity<A>>>>
- Returns:
- Created by Sascha Holzhauer on 25.01.2010
- See Also:
LAbstractSNBO.computeUtility(Class)
getModifiedBO
public LSNIncreaseActivity<A> getModifiedBO(A agent,
Map<Class<? extends LaraPreference>,Double> utilities)
- Specified by:
getModifiedBO
in class LaraBehaviouralOption<A extends LaraAgent<A,LSNIncreaseActivity<A>>,LSNIncreaseActivity<A extends LaraAgent<A,LSNIncreaseActivity<A>>>>
- Returns:
- behavioural option