public class NodesAndWeights.Node
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double |
bias
The bias if this is a bias node
|
java.util.List<NodesAndWeights.Weight> |
fixedWeights
The list of unchangeable weights, also such as those coming from a direct synapse, that carry a singal into this node
|
boolean |
hasInitialState
True if this node has an initial state
|
java.util.List<NodesAndWeights.Weight> |
I
The list of weights that carry a signal into this node from a node in U
|
protected int |
index
The index into the layer at which this node is found
|
boolean |
inU
True if this node is in U, false if not
|
boolean |
isInput
True if this node is connected to the input layer
|
boolean |
isOutput
True if this node is connected to the output layer
|
int |
K
The node's number in Z.
|
protected Layer |
layer
The layer at which this node is found
|
protected double |
maximumInitialStateMagnitude
The initial state maximum magnitude.
|
int |
order
The node's order
|
java.util.List<NodesAndWeights.Weight> |
weights
The list of changeable weights that carry a signal into this node
|
Constructor and Description |
---|
NodesAndWeights.Node(double bias)
Create a new bias node, typically with a bias value of 1
|
NodesAndWeights.Node(Layer layer,
int index,
int order)
Create a new node from a joone layer and also check to see if it has a valid initial state
|
Modifier and Type | Method and Description |
---|---|
void |
addInitialState(double delta)
Change the initial state by adding to it, also update the state's delta
|
double |
getDefaultState()
Retrieve the default state of the node
|
double |
getDerivative()
Retrieve the derivative of the node
|
double |
getInitialState()
Get the initial state
|
double |
getMaximumState()
The maximum allowable value of a node
|
double |
getMinimumState()
The minimum allowable value of a node
|
double |
getValue()
Retrieve the current value of this node
|
void |
setInitialState(double initialState)
Set the initial state of the node, if any
|
protected double bias
protected Layer layer
protected int index
public int K
public boolean inU
public boolean isOutput
public boolean isInput
public boolean hasInitialState
public int order
protected double maximumInitialStateMagnitude
public java.util.List<NodesAndWeights.Weight> weights
public java.util.List<NodesAndWeights.Weight> I
public java.util.List<NodesAndWeights.Weight> fixedWeights
public NodesAndWeights.Node(double bias)
public NodesAndWeights.Node(Layer layer, int index, int order)
public double getValue()
public double getDerivative()
public double getMinimumState()
public double getMaximumState()
public double getDefaultState()
public void setInitialState(double initialState)
public double getInitialState()
public void addInitialState(double delta)
Submit Feedback to pmarrone@users.sourceforge.net