|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclarion.system.GenericStochasticObject
public class GenericStochasticObject
This class implements a generic stochastic object within CLARION. It implements the InterfaceStochasticallySelectable interface.
Usage:
This class is used by the StochasticSelector class when you want to select over a group of objects that are not necessarily an output chunk, which is what most often gets stochastically selected within CLARION.
Most often, this class is used by the ACS to stochastically decide which type (BL, RER, IRL, FR) to use for action decision making.
Field Summary | |
---|---|
private double |
measure
The measure to use for stochastic selection. |
Constructor Summary | |
---|---|
GenericStochasticObject(double m)
Initializes a generic stochastic object with the specified measure. |
Method Summary | |
---|---|
double |
getFinalSelectionMeasure()
Gets the selection measure. |
void |
setFinalSelectionMeasure(double m)
Sets the selection measure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double measure
Constructor Detail |
---|
public GenericStochasticObject(double m)
m
- The measure to be used within the generic stochastic object for stochastic selection.Method Detail |
---|
public void setFinalSelectionMeasure(double m)
setFinalSelectionMeasure
in interface InterfaceStochasticallySelectable
m
- The measure to set.public double getFinalSelectionMeasure()
getFinalSelectionMeasure
in interface InterfaceStochasticallySelectable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |