|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FreeformNeuron
This interface defines a freeform neuron. By freeform that this neuron is not necessarily part of a layer.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.encog.neural.freeform.TempTrainingData |
|---|
addTempTraining, allocateTempTraining, clearTempTraining, getTempTraining, setTempTraining |
| Method Detail |
|---|
void 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||