de.cesr.lara.houseplant
Class DoNothing

java.lang.Object
  extended by de.cesr.lara.components.LaraProperty<BO,Map<Class<? extends LaraPreference>,Double>>
      extended by de.cesr.lara.components.LaraBehaviouralOption<A,AbstractIrrigationBehaviouralOption<A>>
          extended by de.cesr.lara.houseplant.AbstractIrrigationBehaviouralOption<Agent>
              extended by de.cesr.lara.houseplant.DoNothing
All Implemented Interfaces:
Comparable<LaraBehaviouralOption<Agent,AbstractIrrigationBehaviouralOption<Agent>>>

public class DoNothing
extends AbstractIrrigationBehaviouralOption<Agent>

agents does nothing (not irrigate)


Constructor Summary
DoNothing(String key, Agent agent, Map<Class<? extends LaraPreference>,Double> preferences)
          constructor
 
Method Summary
 AbstractIrrigationBehaviouralOption<Agent> getModifiedBO(Agent agent, Map<Class<? extends LaraPreference>,Double> preferenceUtilities)
           
 Map<Class<? extends LaraPreference>,Double> getSituationalUtilities(LaraDecisionConfiguration dBuilder)
           
 
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

DoNothing

public DoNothing(String key,
                 Agent agent,
                 Map<Class<? extends LaraPreference>,Double> preferences)
constructor

Parameters:
key -
agent -
Method Detail

getSituationalUtilities

public Map<Class<? extends LaraPreference>,Double> getSituationalUtilities(LaraDecisionConfiguration dBuilder)
Specified by:
getSituationalUtilities in class LaraBehaviouralOption<Agent,AbstractIrrigationBehaviouralOption<Agent>>
Returns:
the current preferenceUtilities of this behavioural option

getModifiedBO

public AbstractIrrigationBehaviouralOption<Agent> getModifiedBO(Agent agent,
                                                                Map<Class<? extends LaraPreference>,Double> preferenceUtilities)
Specified by:
getModifiedBO in class LaraBehaviouralOption<Agent,AbstractIrrigationBehaviouralOption<Agent>>
Returns:
behavioural option