de.cesr.lara.components.decision
Interface LaraDeliberativeChoiceComponent

All Known Implementing Classes:
LDeliberativeChoiceComp_MaxLineTotal, LDeliberativeChoiceComp_MaxLineTotalRandomAtTie, LDeliberativeChoiceComp_Probabilistic

public interface LaraDeliberativeChoiceComponent

Heuristic used for selection of (best) behavioural option


Method Summary
<BO extends LaraBehaviouralOption<?,? extends BO>>
Set<? extends BO>
getKSelectedBos(LaraDecisionConfiguration dConfig, Collection<LaraBoRow<BO>> boRows, int k)
          If k is Integer.MAX_VALUE all available BOs should be returned!
<BO extends LaraBehaviouralOption<?,? extends BO>>
BO
getSelectedBo(LaraDecisionConfiguration dConfig, Collection<LaraBoRow<BO>> boRows)
          Provides the selected BO for the given decision configuration
 

Method Detail

getKSelectedBos

<BO extends LaraBehaviouralOption<?,? extends BO>> Set<? extends BO> getKSelectedBos(LaraDecisionConfiguration dConfig,
                                                                                     Collection<LaraBoRow<BO>> boRows,
                                                                                     int k)
If k is Integer.MAX_VALUE all available BOs should be returned! Note: The component is to guarantee that for several calls with identical k the same set of BOs is returned!

Parameters:
dConfig - the decision configuration of this decision process
boRows - collection of LaraBoRows
k - number of BOs to select
Returns:
k best behavioural options

getSelectedBo

<BO extends LaraBehaviouralOption<?,? extends BO>> BO getSelectedBo(LaraDecisionConfiguration dConfig,
                                                                    Collection<LaraBoRow<BO>> boRows)
Provides the selected BO for the given decision configuration

Parameters:
dConfig - the decision configuration of this decision process
boRows - collection of LaraBoRows
Returns:
selected behavioural option