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

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,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>


Constructor Summary
LAbstractSNBO(String key, A agent, Map<Class<? extends LaraPreference>,Double> utilities)
           
 
Method Summary
abstract  boolean computeUtility(Class<? extends LaraPreference> goal)
           
 Map<Class<? extends LaraPreference>,Double> getSituationalUtilities(LaraDecisionConfiguration dConfiguration)
           
 
Methods inherited from class de.cesr.lara.components.LaraBehaviouralOption
calculateHashCode, compareTo, equals, getAgent, getModifiableUtilities, getModifiedAgentBO, getModifiedBO, 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

LAbstractSNBO

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

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