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