public class InputNode extends AbstractNode
connections, derivativeFunction, lastDerivative, lastDerivativePattern, lastInputValue, lastOutputValue, lastPattern, order, transportFunction
Constructor and Description |
---|
InputNode() |
Modifier and Type | Method and Description |
---|---|
double |
getOutputValue(int pattern)
Retrieve the output value, which is Double.NaN if there is a pattern number
mismatch
|
void |
setInputValue(int pattern,
double inputValue)
Set the node's current value
|
calculateOrder, getConnections, getDerivative, getInputValue, getOrder, getTreeNode, setOrder
public void setInputValue(int pattern, double inputValue)
public double getOutputValue(int pattern)
getOutputValue
in interface Node
getOutputValue
in class AbstractNode
pattern
- the pattern number, 1 for the first patternSubmit Feedback to pmarrone@users.sourceforge.net