org.jactr.core.module.procedural.six.learning
Class UtilityNoiseLearningExtension

java.lang.Object
  extended by org.jactr.core.module.procedural.six.learning.UtilityNoiseLearningExtension
All Implemented Interfaces:
java.util.EventListener, IExtension, IProceduralLearningModule6Listener, IInitializable, IInstallable, IParameterized

public class UtilityNoiseLearningExtension
extends java.lang.Object
implements IExtension, IProceduralLearningModule6Listener


Field Summary
static java.lang.String LONG_TERM_RATE_PARAM
           
static java.lang.String SHORT_TERM_RATE_PARAM
           
static java.lang.String UTILITY_NOISE_LEARNING_RATE_PARAM
           
static java.lang.String UTILITY_NOISE_SCALOR_PARAM
           
 
Constructor Summary
UtilityNoiseLearningExtension()
           
 
Method Summary
 IModel getModel()
          return the IModel
 java.lang.String getName()
          returns the unique name of the extension.
 java.lang.String getParameter(java.lang.String key)
          return parameter value - null if not defined.
 java.util.Collection<java.lang.String> getPossibleParameters()
          Return all parameters that can be read
 java.util.Collection<java.lang.String> getSetableParameters()
          Return list of all parameters that can be set.
 void initialize()
          intialize this component
 void install(IModel model)
          Install this extension into this model.
 boolean isAdaptiveUtilityNoiseEnabled()
           
 void rewarded(ProceduralLearningEvent event)
          a reward has been signalled
 void setParameter(java.lang.String key, java.lang.String value)
          Set the named parameter
 void uninstall(IModel model)
          remove this extension from the model
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UTILITY_NOISE_LEARNING_RATE_PARAM

public static final java.lang.String UTILITY_NOISE_LEARNING_RATE_PARAM
See Also:
Constant Field Values

UTILITY_NOISE_SCALOR_PARAM

public static final java.lang.String UTILITY_NOISE_SCALOR_PARAM
See Also:
Constant Field Values

LONG_TERM_RATE_PARAM

public static final java.lang.String LONG_TERM_RATE_PARAM
See Also:
Constant Field Values

SHORT_TERM_RATE_PARAM

public static final java.lang.String SHORT_TERM_RATE_PARAM
See Also:
Constant Field Values
Constructor Detail

UtilityNoiseLearningExtension

public UtilityNoiseLearningExtension()
Method Detail

getModel

public IModel getModel()
Description copied from interface: IExtension
return the IModel

Specified by:
getModel in interface IExtension
Returns:
The model value

getName

public java.lang.String getName()
Description copied from interface: IExtension
returns the unique name of the extension.

Specified by:
getName in interface IExtension
Returns:
The name value

install

public void install(IModel model)
Description copied from interface: IExtension
Install this extension into this model.

Specified by:
install in interface IExtension
Specified by:
install in interface IInstallable
Parameters:
model - Description of the Parameter

uninstall

public void uninstall(IModel model)
Description copied from interface: IExtension
remove this extension from the model

Specified by:
uninstall in interface IExtension
Specified by:
uninstall in interface IInstallable
Parameters:
model - Description of the Parameter

getParameter

public java.lang.String getParameter(java.lang.String key)
Description copied from interface: IParameterized
return parameter value - null if not defined.

Specified by:
getParameter in interface IParameterized
Parameters:
key - Description of the Parameter
Returns:
The parameter value

getPossibleParameters

public java.util.Collection<java.lang.String> getPossibleParameters()
Description copied from interface: IParameterized
Return all parameters that can be read

Specified by:
getPossibleParameters in interface IParameterized
Returns:
The possibleParameters value

getSetableParameters

public java.util.Collection<java.lang.String> getSetableParameters()
Description copied from interface: IParameterized
Return list of all parameters that can be set.

Specified by:
getSetableParameters in interface IParameterized
Returns:
The setableParameters value

setParameter

public void setParameter(java.lang.String key,
                         java.lang.String value)
Description copied from interface: IParameterized
Set the named parameter

Specified by:
setParameter in interface IParameterized

initialize

public void initialize()
                throws java.lang.Exception
Description copied from interface: IInitializable
intialize this component

Specified by:
initialize in interface IInitializable
Throws:
java.lang.Exception

isAdaptiveUtilityNoiseEnabled

public boolean isAdaptiveUtilityNoiseEnabled()

rewarded

public void rewarded(ProceduralLearningEvent event)
Description copied from interface: IProceduralLearningModule6Listener
a reward has been signalled

Specified by:
rewarded in interface IProceduralLearningModule6Listener