de.cesr.lara.toolbox.snanalysis.bos
Class LSNIncreaseActivity<A extends LaraAgent<A,LSNIncreaseActivity<A>>>

java.lang.Object
  extended by de.cesr.lara.components.LaraProperty<BO,Map<Class<? extends LaraPreference>,Double>>
      extended by de.cesr.lara.components.LaraBehaviouralOption<A,BO>
          extended by de.cesr.lara.toolbox.snanalysis.bos.LAbstractSNBO<A,LSNIncreaseActivity<A>>
              extended by 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>>


Constructor Summary
LSNIncreaseActivity(String key, A agent, Map<Class<? extends LaraPreference>,Double> utilities)
           
 
Method Summary
 boolean computeUtility(Class<? extends LaraPreference> goal)
           
 LSNIncreaseActivity<A> getModifiedBO(A agent, Map<Class<? extends LaraPreference>,Double> utilities)
           
 
Methods inherited from class de.cesr.lara.toolbox.snanalysis.bos.LAbstractSNBO
getSituationalUtilities
 
Methods inherited from class de.cesr.lara.components.LaraBehaviouralOption
calculateHashCode, compareTo, equals, getAgent, getModifiableUtilities, getModifiedAgentBO, getModifiedProperty, getModifiedUtilitiesBO, getTotalSituationalUtility, getValue, hashCode, isCurrentlyApplicable, toString
 
Methods inherited from class de.cesr.lara.components.LaraProperty
getKey, getRefreshedProperty, getTimestamp
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LSNIncreaseActivity

public LSNIncreaseActivity(String key,
                           A agent,
                           Map<Class<? extends LaraPreference>,Double> utilities)
Parameters:
key -
agent -
utilities -
Method Detail

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