de.cesr.lara.components.decision
Class LaraDecisionData<A extends LaraAgent<? super A,BO>,BO extends LaraBehaviouralOption<?,? extends BO>>

java.lang.Object
  extended by de.cesr.lara.components.decision.LaraDecisionData<A,BO>
Type Parameters:
A - the agent type
BO - the behavioural options type

public final class LaraDecisionData<A extends LaraAgent<? super A,BO>,BO extends LaraBehaviouralOption<?,? extends BO>>
extends Object


Constructor Summary
LaraDecisionData(LaraDecisionConfiguration dConfiguration, A agent)
           
 
Method Summary
 Collection<BO> getBos()
           
 LaraDecisionConfiguration getdConfiguration()
           
 LaraDecider<BO> getDecider()
           
 LaraDeciderFactory<A,BO> getDeciderFactory()
           
 Map<Class<? extends LaraPreference>,Double> getIndividualPreferenceWeights()
           
 void setBos(BO... bo)
           
 void setBos(Collection<BO> bos)
           
 void setDeciderFactory(LaraDeciderFactory<A,BO> deciderFactory)
          Normally called by a LaraDecisionModeSelector.
 void setIndividualPreferences(Map<Class<? extends LaraPreference>,Double> individualPreferenceWeights)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LaraDecisionData

public LaraDecisionData(LaraDecisionConfiguration dConfiguration,
                        A agent)
Parameters:
dConfiguration -
agent -
Method Detail

getBos

public Collection<BO> getBos()
Returns:
the BOs

getdConfiguration

public LaraDecisionConfiguration getdConfiguration()
Returns:
the dConfiguration

getDecider

public LaraDecider<BO> getDecider()
Returns:
the current LaraDecider for the according decision process

getDeciderFactory

public LaraDeciderFactory<A,BO> getDeciderFactory()
Returns:
the deciderFactory

getIndividualPreferenceWeights

public Map<Class<? extends LaraPreference>,Double> getIndividualPreferenceWeights()
Returns:
the currentPreferences

setBos

public void setBos(BO... bo)
Parameters:
bo - list of BOs to set

setBos

public void setBos(Collection<BO> bos)
Parameters:
bos - the BOs to set

setDeciderFactory

public void setDeciderFactory(LaraDeciderFactory<A,BO> deciderFactory)
Normally called by a LaraDecisionModeSelector.

Parameters:
deciderFactory - the deciderFactory to set

setIndividualPreferences

public void setIndividualPreferences(Map<Class<? extends LaraPreference>,Double> individualPreferenceWeights)
Parameters:
individualPreferenceWeights - the currentPreferences to set

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()