de.cesr.lara.components.decision
Class LaraDecisionData<A extends LaraAgent<? super A,BO>,BO extends LaraBehaviouralOption<?,? extends BO>>
java.lang.Object
de.cesr.lara.components.decision.LaraDecisionData<A,BO>
- Type Parameters:
A
- the agent typeBO
- the behavioural options type
public final class LaraDecisionData<A extends LaraAgent<? super A,BO>,BO extends LaraBehaviouralOption<?,? extends BO>>
- extends Object
LaraDecisionData
public LaraDecisionData(LaraDecisionConfiguration dConfiguration,
A agent)
- Parameters:
dConfiguration
- agent
-
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()