clarion.system
Class GenericStochasticObject

java.lang.Object
  extended by clarion.system.GenericStochasticObject
All Implemented Interfaces:
InterfaceStochasticallySelectable

public class GenericStochasticObject
extends java.lang.Object
implements InterfaceStochasticallySelectable

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.

Version:
6.0.4
Author:
Nick Wilson

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

measure

private double measure
The measure to use for stochastic selection.

Constructor Detail

GenericStochasticObject

public GenericStochasticObject(double m)
Initializes a generic stochastic object with the specified measure.

Parameters:
m - The measure to be used within the generic stochastic object for stochastic selection.
Method Detail

setFinalSelectionMeasure

public void setFinalSelectionMeasure(double m)
Sets the selection measure.

Specified by:
setFinalSelectionMeasure in interface InterfaceStochasticallySelectable
Parameters:
m - The measure to set.

getFinalSelectionMeasure

public double getFinalSelectionMeasure()
Gets the selection measure.

Specified by:
getFinalSelectionMeasure in interface InterfaceStochasticallySelectable
Returns:
The selection measure.