org.joone.engine
Class AbstractLearner
- java.lang.Object
-
- org.joone.engine.AbstractLearner
-
- All Implemented Interfaces:
- java.io.Serializable, Learner
- Direct Known Subclasses:
- ExtendableLearner
public abstract class AbstractLearner extends java.lang.Object implements Learner
This class provides some basic simple functionality that can be used (extended) by other learners.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description AbstractLearner()Creates a new instance of AbstractLearner
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description LearnableLayergetLayer()Gets the layer the learner is associated with.MonitorgetMonitor()Gets the monitor object.LearnableSynapsegetSynapse()Gets the synapse the learner is associated with.voidregisterLearnable(Learnable aLearnable)Learnable makes itself known to the Learner, also the type of Learnable is checked.voidsetMonitor(Monitor mon)Override this method to get the needed parameters from the Monitor object passed as parameter-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.joone.engine.Learner
requestBiasUpdate, requestWeightUpdate
-
-
-
-
Constructor Detail
-
AbstractLearner
public AbstractLearner()
Creates a new instance of AbstractLearner
-
-
Method Detail
-
registerLearnable
public void registerLearnable(Learnable aLearnable)
Learnable makes itself known to the Learner, also the type of Learnable is checked.- Specified by:
registerLearnablein interfaceLearner
-
setMonitor
public void setMonitor(Monitor mon)
Override this method to get the needed parameters from the Monitor object passed as parameter- Specified by:
setMonitorin interfaceLearner
-
getMonitor
public Monitor getMonitor()
Gets the monitor object.- Returns:
- the monitor object.
-
getLayer
public LearnableLayer getLayer()
Gets the layer the learner is associated with.- Returns:
- the layer the learner is associated with.
-
getSynapse
public LearnableSynapse getSynapse()
Gets the synapse the learner is associated with.- Returns:
- the synapse the learner is associated wiht.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG