|
|||||||||
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.LExplorationDecider<A,BO>
A
- type of agentBO
- type of behavioural optionspublic class LExplorationDecider<A extends LaraAgent<A,BO>,BO extends LaraBehaviouralOption<?,? extends BO>>
Constructor Summary | |
---|---|
LExplorationDecider(A agent,
LaraDecisionConfiguration dConfiguration)
|
Method Summary | |
---|---|
void |
decide()
Executes the decision! |
Set<BO> |
getKSelectedBos(int k)
Return the LaraBehaviouralOption s that were selected in
LaraDecider.decide() . |
int |
getNumSelectableBOs()
|
BO |
getSelectedBo()
Return the LaraBehaviouralOption that was selected in
LaraDecider.decide() . |
String |
toString()
Return the name of this decider and the LaraDecisionConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LExplorationDecider(A agent, LaraDecisionConfiguration dConfiguration)
agent
- dConfiguration
- Method Detail |
---|
public void decide()
LaraDecider
LaraBehaviouralOption
.
decide
in interface LaraDecider<BO extends LaraBehaviouralOption<?,? extends BO>>
LaraDecider.decide()
public Set<BO> getKSelectedBos(int k)
LaraDecider
LaraBehaviouralOption
s that were selected in
LaraDecider.decide()
.
Note: Do not perform the actual selection here since this method might be
called more than once!
getKSelectedBos
in interface LaraDecider<BO extends LaraBehaviouralOption<?,? extends BO>>
k
- the size of the returned set - Integer.MAX_VALUE if all BOs
shall be returned
LaraBehaviouralOption
s as result of the decision
processLaraDecider.getKSelectedBos(int)
public int getNumSelectableBOs()
getNumSelectableBOs
in interface LaraDecider<BO extends LaraBehaviouralOption<?,? extends BO>>
LaraDecider.getNumSelectableBOs()
public BO getSelectedBo()
LaraDecider
LaraBehaviouralOption
that was selected in
LaraDecider.decide()
.
Note: Do not perform the actual selection here since this method might be
called more than once!
getSelectedBo
in interface LaraDecider<BO extends LaraBehaviouralOption<?,? extends BO>>
LaraBehaviouralOption
as result of the decision processLaraDecider.getSelectedBo()
public String toString()
LaraDecisionConfiguration
toString
in class Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |