|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.cesr.lara.components.decision.impl.LDeliberativeChoiceComp_Probabilistic
public class LDeliberativeChoiceComp_Probabilistic
Selects behavioural options based on a probabilistic choice mechanism. BOs are placed on a roulette wheel with the range according to their utility. The BO is selected in whose range the random number falls. IN case of negative utility sums all utility sums are shifted right by the lowest value. Eta is used as an exponent to the BO's utility that influenced the range on the roulette wheel. In case of a single BO or if (k == number of available BOs) the process is accelerated by directly choosing this BO.
| Field Summary | |
|---|---|
protected Logger |
logger
logger |
| Constructor Summary | |
|---|---|
LDeliberativeChoiceComp_Probabilistic(float eta,
String distribution)
|
|
LDeliberativeChoiceComp_Probabilistic(String distribution)
Uses eta = 1.0 |
|
| Method Summary | ||
|---|---|---|
|
getKSelectedBos(LaraDecisionConfiguration dConfig,
Collection<LaraBoRow<BO>> boRows,
int k)
NOTE: The given Collection of LaraBoRows is altered! |
|
|
getSelectedBo(LaraDecisionConfiguration dConfig,
Collection<LaraBoRow<BO>> boRows)
Provides the selected BO for the given decision configuration |
|
protected
|
selectProbabilistic(LaraDecisionConfiguration dConfig,
Collection<LaraBoRow<BO>> boRows,
LaraAgent<?,?> agent)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Logger logger
| Constructor Detail |
|---|
public LDeliberativeChoiceComp_Probabilistic(float eta,
String distribution)
eta - distinction parameterrand - public LDeliberativeChoiceComp_Probabilistic(String distribution)
distribution - | Method Detail |
|---|
public <BO extends LaraBehaviouralOption<?,? extends BO>> Set<? extends BO> getKSelectedBos(LaraDecisionConfiguration dConfig,
Collection<LaraBoRow<BO>> boRows,
int k)
LaraBoRows is altered!
getKSelectedBos in interface LaraDeliberativeChoiceComponentdConfig - the decision configuration of this decision processboRows - collection of LaraBoRowsk - number of BOs to select
LaraDeliberativeChoiceComponent.getKSelectedBos(de.cesr.lara.components.decision.LaraDecisionConfiguration,
java.util.Collection, int)
public <BO extends LaraBehaviouralOption<?,? extends BO>> BO getSelectedBo(LaraDecisionConfiguration dConfig,
Collection<LaraBoRow<BO>> boRows)
LaraDeliberativeChoiceComponent
getSelectedBo in interface LaraDeliberativeChoiceComponentdConfig - the decision configuration of this decision processboRows - collection of LaraBoRows
protected <BO extends LaraBehaviouralOption<?,? extends BO>> LaraBoRow<BO> selectProbabilistic(LaraDecisionConfiguration dConfig,
Collection<LaraBoRow<BO>> boRows,
LaraAgent<?,?> agent)
BO - dConfig - boRows - agent -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||