public class InputOutputNeuron extends Neuron
delta, inputConnections, inputFunction, outConnections, output, parentLayer, totalInput, transferFunction
Constructor and Description |
---|
InputOutputNeuron()
Creates an instance of neuron for Hopfield network
|
InputOutputNeuron(InputFunction inFunc,
TransferFunction transFunc)
Creates an instance of neuron for Hopfield network with specified input
and transfer functions
|
Modifier and Type | Method and Description |
---|---|
void |
calculate()
Calculates neuron output
|
double |
getBias()
Returns bias value for this neuron
|
void |
setBias(double bias)
Sets bias value for this neuron
|
void |
setInput(double input)
Sets total net input for this cell
|
addInputConnection, addInputConnection, addInputConnection, addOutputConnection, clone, getConnectionFrom, getDelta, getInputConnections, getInputFunction, getLabel, getNetInput, getOutConnections, getOutput, getParentLayer, getTransferFunction, getWeights, hasInputConnectionFrom, hasInputConnections, hasOutputConnectionTo, initializeWeights, removeAllConnections, removeAllInputConnections, removeAllOutputConnections, removeInputConnection, removeInputConnectionFrom, removeOutputConnection, removeOutputConnectionTo, reset, setDelta, setInputFunction, setLabel, setOutput, setParentLayer, setTransferFunction
public InputOutputNeuron()
public InputOutputNeuron(InputFunction inFunc, TransferFunction transFunc)
inFunc
- neuron input functiontransFunc
- neuron transfer functionpublic void setInput(double input)
public double getBias()
public void setBias(double bias)
bias
- bias value for this neuronCopyright © 2019 Neuroph Project. All rights reserved.