|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.cesr.lara.components.decision.impl.LDeliberativeChoiceComp_MaxLineTotalRandomAtTie
public class LDeliberativeChoiceComp_MaxLineTotalRandomAtTie
Tie Rule: In case there are more than one BOs with the highest score, a random one is chosen among these.
Field Summary | |
---|---|
protected AbstractDistribution |
rand
|
Method Summary | ||
---|---|---|
static LDeliberativeChoiceComp_MaxLineTotalRandomAtTie |
getInstance(String distribution)
Null is translated to LaraRandom.UNIFORM_DEFAULT. |
|
|
getKSelectedBos(LaraDecisionConfiguration dConfiguration,
Collection<LaraBoRow<BO>> boRows,
int k)
Return the k BOs with the highest sum of preference fulfillment. |
|
|
getSelectedBo(LaraDecisionConfiguration dConfiguration,
Collection<LaraBoRow<BO>> boRows)
Return the BO with the highest sum of preference fulfillment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AbstractDistribution rand
Method Detail |
---|
public static LDeliberativeChoiceComp_MaxLineTotalRandomAtTie getInstance(String distribution)
distribution
-
public <BO extends LaraBehaviouralOption<?,? extends BO>> Set<? extends BO> getKSelectedBos(LaraDecisionConfiguration dConfiguration, Collection<LaraBoRow<BO>> boRows, int k)
getKSelectedBos
in interface LaraDeliberativeChoiceComponent
boRows
- collection of LaraBoRow
s to select fromk
- number of (best) BOs to selectdConfiguration
- the decision configuration of this decision process
public <BO extends LaraBehaviouralOption<?,? extends BO>> BO getSelectedBo(LaraDecisionConfiguration dConfiguration, Collection<LaraBoRow<BO>> boRows)
getSelectedBo
in interface LaraDeliberativeChoiceComponent
dConfiguration
- the decision configuration of this decision processboRows
- collection of LaraBoRow
s
de.cesr.lara.components.decision.LaraDeliberativeChoiceComponent#getBestBehaviouralOption(de.cesr.lara.components.decision.LaraUtilityMatrix)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |