|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.module.AbstractModule
org.jactr.core.module.procedural.six.learning.DefaultProceduralLearningModule6
public class DefaultProceduralLearningModule6
production learning is accomplished by listening to the procedural module for
firing events..
| Field Summary |
|---|
| Fields inherited from interface org.jactr.core.module.procedural.five.learning.IProceduralLearningModule5 |
|---|
PRODUCTION_COMPILATION_PARAM |
| Fields inherited from interface org.jactr.core.module.procedural.IProceduralLearningModule |
|---|
OPTIMIZED_LEARNING, PARAMETER_LEARNING_RATE |
| Constructor Summary | |
|---|---|
DefaultProceduralLearningModule6()
|
|
| Method Summary | |
|---|---|
void |
addListener(IProceduralLearningModule6Listener listener,
java.util.concurrent.Executor executor)
|
IExpectedUtilityEquation |
getExpectedUtilityEquation()
|
int |
getOptimizationLevel()
|
java.lang.String |
getParameter(java.lang.String key)
return parameter value - null if not defined. |
double |
getParameterLearning()
|
java.util.Collection<java.lang.String> |
getPossibleParameters()
Return all parameters that can be read |
IProductionCompiler |
getProductionCompiler()
|
java.util.Collection<java.lang.String> |
getSetableParameters()
Return list of all parameters that can be set. |
void |
initialize()
this will be called after all the modules have been installed permitting the module to attach listeners to other modules. |
boolean |
isLearningEnabled()
|
boolean |
isParameterLearningEnabled()
|
boolean |
isProductionCompilationEnabled()
|
void |
removeListener(IProceduralLearningModule6Listener listener)
|
void |
reset()
reset the module. |
void |
reward(double initialReward)
|
void |
setExpectedUtilityEquation(IExpectedUtilityEquation equation)
|
void |
setOptimizationLevel(int level)
|
void |
setParameter(java.lang.String key,
java.lang.String value)
Set the named parameter |
void |
setParameterLearning(double rate)
|
void |
setProductionCompilationEnabled(boolean enabled)
|
void |
setProductionCompiler(IProductionCompiler compiler)
|
| Methods inherited from class org.jactr.core.module.AbstractModule |
|---|
delayedFuture, dispose, getExecutor, getModel, getName, immediateFuture, immediateReturn, install, uninstall |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jactr.core.module.IModule |
|---|
dispose, getModel, getName, install |
| Methods inherited from interface org.jactr.core.utils.IInstallable |
|---|
uninstall |
| Constructor Detail |
|---|
public DefaultProceduralLearningModule6()
| Method Detail |
|---|
public boolean isProductionCompilationEnabled()
isProductionCompilationEnabled in interface IProceduralLearningModule5public void setProductionCompilationEnabled(boolean enabled)
setProductionCompilationEnabled in interface IProceduralLearningModule5public double getParameterLearning()
getParameterLearning in interface IProceduralLearningModulepublic boolean isParameterLearningEnabled()
isParameterLearningEnabled in interface IProceduralLearningModulepublic void setParameterLearning(double rate)
setParameterLearning in interface IProceduralLearningModulepublic boolean isLearningEnabled()
public void initialize()
IModule
initialize in interface IModuleinitialize in interface IInitializableinitialize in class AbstractModulepublic IProductionCompiler getProductionCompiler()
getProductionCompiler in interface IProceduralLearningModule5public void setProductionCompiler(IProductionCompiler compiler)
public void setExpectedUtilityEquation(IExpectedUtilityEquation equation)
public IExpectedUtilityEquation getExpectedUtilityEquation()
getExpectedUtilityEquation in interface IProceduralLearningModule6public int getOptimizationLevel()
getOptimizationLevel in interface IProceduralLearningModulepublic void setOptimizationLevel(int level)
setOptimizationLevel in interface IProceduralLearningModulepublic void reward(double initialReward)
reward in interface IProceduralLearningModule6public java.lang.String getParameter(java.lang.String key)
IParameterized
getParameter in interface IParameterizedkey - Description of the Parameter
public java.util.Collection<java.lang.String> getPossibleParameters()
IParameterized
getPossibleParameters in interface IParameterizedpublic java.util.Collection<java.lang.String> getSetableParameters()
IParameterized
getSetableParameters in interface IParameterized
public void setParameter(java.lang.String key,
java.lang.String value)
IParameterized
setParameter in interface IParameterized
public void addListener(IProceduralLearningModule6Listener listener,
java.util.concurrent.Executor executor)
addListener in interface IProceduralLearningModule6public void removeListener(IProceduralLearningModule6Listener listener)
removeListener in interface IProceduralLearningModule6public void reset()
IModule
reset in interface IModule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||