connections, derivativeFunction, lastDerivative, lastDerivativePattern, lastInputValue, lastOutputValue, lastPattern, order, transportFunction| Constructor and Description |
|---|
BiasNode()
The default bias node that fires 1s all the time
|
BiasNode(double bias)
A bias node that fires the given value each time
|
| Modifier and Type | Method and Description |
|---|---|
double |
getInputValue(int pattern)
The node's input value which is simply the bias
|
double |
getOutputValue(int pattern)
Retrieve the output value, which is the bias
|
setInputValuecalculateOrder, getConnections, getDerivative, getOrder, getTreeNode, setOrderpublic BiasNode()
public BiasNode(double bias)
public double getInputValue(int pattern)
getInputValue in interface NodegetInputValue in class AbstractNodepattern - the pattern number, 1 for the first patternpublic double getOutputValue(int pattern)
getOutputValue in interface NodegetOutputValue in class InputNodepattern - the pattern number, 1 for the first patternSubmit Feedback to pmarrone@users.sourceforge.net