org.encog.neural.freeform
Class FreeformContextNeuron
- java.lang.Object
-
- org.encog.neural.freeform.basic.BasicFreeformNeuron
-
- org.encog.neural.freeform.FreeformContextNeuron
-
- All Implemented Interfaces:
- java.io.Serializable, FreeformNeuron, TempTrainingData
public class FreeformContextNeuron extends BasicFreeformNeuron
Defines a freeform context neuron.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description FreeformContextNeuron(FreeformNeuron theContextSource)Construct the context neuron.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description FreeformNeurongetContextSource()voidsetContextSource(FreeformNeuron contextSource)java.lang.StringtoString()voidupdateContext()Update the context value for this neuron.-
Methods inherited from class org.encog.neural.freeform.basic.BasicFreeformNeuron
addInput, addOutput, addTempTraining, allocateTempTraining, clearTempTraining, getActivation, getInputSummation, getOutputs, getSum, getTempTraining, isBias, performCalculation, setActivation, setBias, setInputSummation, setTempTraining
-
-
-
-
Constructor Detail
-
FreeformContextNeuron
public FreeformContextNeuron(FreeformNeuron theContextSource)
Construct the context neuron.- Parameters:
theContextSource- The context source.
-
-
Method Detail
-
getContextSource
public FreeformNeuron getContextSource()
- Returns:
- the contextSource
-
setContextSource
public void setContextSource(FreeformNeuron contextSource)
- Parameters:
contextSource- the contextSource to set
-
updateContext
public void updateContext()
Description copied from class:BasicFreeformNeuronUpdate the context value for this neuron.- Specified by:
updateContextin interfaceFreeformNeuron- Overrides:
updateContextin classBasicFreeformNeuron
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBasicFreeformNeuron
-
-
DMelt 3.0 © DataMelt by jWork.ORG