org.encog.neural.freeform
Interface FreeformConnection
-
- All Superinterfaces:
- TempTrainingData
- All Known Implementing Classes:
- BasicFreeformConnection
public interface FreeformConnection extends TempTrainingData
Defines a freeform connection between neurons.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidaddWeight(double delta)Add to the connection weight.FreeformNeurongetSource()FreeformNeurongetTarget()doublegetWeight()booleanisRecurrent()voidsetRecurrent(boolean recurrent)Determine if this is a recurrent connecton.voidsetSource(FreeformNeuron source)Set the source neuron.voidsetTarget(FreeformNeuron target)Set the target neuron.voidsetWeight(double weight)Set the weight.-
Methods inherited from interface org.encog.neural.freeform.TempTrainingData
addTempTraining, allocateTempTraining, clearTempTraining, getTempTraining, setTempTraining
-
-
-
-
Method Detail
-
addWeight
void addWeight(double delta)
Add to the connection weight.- Parameters:
delta- THe value to add.
-
getSource
FreeformNeuron getSource()
- Returns:
- The source neuron.
-
getTarget
FreeformNeuron getTarget()
- Returns:
- The target neuron.
-
getWeight
double getWeight()
- Returns:
- The weight.
-
isRecurrent
boolean isRecurrent()
- Returns:
- Is this a recurrent connection?
-
setRecurrent
void setRecurrent(boolean recurrent)
Determine if this is a recurrent connecton.- Parameters:
recurrent- True, if this is a recurrent connection.
-
setSource
void setSource(FreeformNeuron source)
Set the source neuron.- Parameters:
source- The source neuron.
-
setTarget
void setTarget(FreeformNeuron target)
Set the target neuron.- Parameters:
target- The target neuron.
-
setWeight
void setWeight(double weight)
Set the weight.- Parameters:
weight- The weight.
-
-
DMelt 3.0 © DataMelt by jWork.ORG