org.encog.neural.freeform
public interface FreeformNeuron extends TempTrainingData
| Modifier and Type | Method and Description |
|---|---|
void |
addInput(FreeformConnection inputConnection)
Add an input connection to this neuron.
|
void |
addOutput(FreeformConnection outputConnection)
Add an output connection to this neuron.
|
double |
getActivation() |
InputSummation |
getInputSummation() |
List<FreeformConnection> |
getOutputs() |
double |
getSum() |
boolean |
isBias() |
void |
performCalculation()
Perform the internal calculation for this neuron.
|
void |
setActivation(double activation)
Set the activation, or final output for this neuron.
|
void |
setBias(boolean b)
Determine if this neuron is a bias neuron.
|
void |
setInputSummation(InputSummation theInputSummation)
Set the input summation method.
|
void |
updateContext()
Update the context value for this neuron.
|
addTempTraining, allocateTempTraining, clearTempTraining, getTempTraining, setTempTrainingvoid addInput(FreeformConnection inputConnection)
inputConnection - The input connection.void addOutput(FreeformConnection outputConnection)
outputConnection - The output connection.double getActivation()
InputSummation getInputSummation()
List<FreeformConnection> getOutputs()
double getSum()
boolean isBias()
void performCalculation()
void setActivation(double activation)
activation - THe activation.void setBias(boolean b)
b - True, if this neuron is considered a bias neuron.void setInputSummation(InputSummation theInputSummation)
theInputSummation - The input summation method.void updateContext()
Copyright © 2014. All Rights Reserved.