|
|||||||||
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_MaxLineTotal
public class LDeliberativeChoiceComp_MaxLineTotal
Selects the behavioural option with maximal line total. Tie Rule: In case there are more than one BOs with the highest score, the one with highest row number is returned.
Method Summary | ||
---|---|---|
static LDeliberativeChoiceComp_MaxLineTotal |
getInstance()
|
|
|
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 |
Method Detail |
---|
public static LDeliberativeChoiceComp_MaxLineTotal getInstance()
public <BO extends LaraBehaviouralOption<?,? extends BO>> Set<? extends BO> getKSelectedBos(LaraDecisionConfiguration dConfiguration, Collection<LaraBoRow<BO>> boRows, int k)
getKSelectedBos
in interface LaraDeliberativeChoiceComponent
dConfiguration
- the decision configuration of this decision processboRows
- collection of LaraBoRow
sk
- number of BOs to select
getKSelectedBos(de.cesr.lara.components.decision.LaraDecisionConfiguration,
java.util.Collection, int)
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
LaraDeliberativeChoiceComponent.getSelectedBo(de.cesr.lara.components.decision.LaraDecisionConfiguration,
java.util.Collection)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |