de.cesr.lara.components.decision
Interface LaraBoRow<BO extends LaraBehaviouralOption<?,?>>

Type Parameters:
BO -
All Known Implementing Classes:
LLightBoRow

public interface LaraBoRow<BO extends LaraBehaviouralOption<?,?>>

Combines a behavioural option and its individual (i.e. weighted by personal preference weights) utility values during the decision process.


Method Summary
 BO getBehaviouralOption()
           
 double getIndividualUtilityValue(Class<? extends LaraPreference> preference)
          Provides the individual utility values regarding the given preference.
 double getSum()
           
 void setIndividualUtilityValue(Class<? extends LaraPreference> preference, double value)
          Adds a individual utility values regarding a given preference.
 

Method Detail

getBehaviouralOption

BO getBehaviouralOption()
Returns:
the behavioural option this row represents

getIndividualUtilityValue

double getIndividualUtilityValue(Class<? extends LaraPreference> preference)
Provides the individual utility values regarding the given preference.

Returns:
individual utility value

getSum

double getSum()
Returns:
the sum of all individual utility values

setIndividualUtilityValue

void setIndividualUtilityValue(Class<? extends LaraPreference> preference,
                               double value)
Adds a individual utility values regarding a given preference.

Parameters:
preference -
value -