public interface INeuron
Represents a neuron in the neural net
Modifier and Type | Method and Description |
---|---|
boolean |
equals(INeuron other)
Checks if this neuron is equal to another
|
int |
hashCode()
Returns an integer number that identifies the neuron
|
double |
operate(double[] inputs)
Operates this neuron using an array of inputs for the inputs neurons
|
double[] |
operate(double[][] inputs)
Operates this neuron using an input matrix for the inputs neurons
|
boolean equals(INeuron other)
Checks if this neuron is equal to another
other
- Other neuron to compareint hashCode()
Returns an integer number that identifies the neuron
hashCode
in class java.lang.Object
double operate(double[] inputs)
Operates this neuron using an array of inputs for the inputs neurons
inputs
- Array to be used for the inputs observationsdouble[] operate(double[][] inputs)
Operates this neuron using an input matrix for the inputs neurons
inputs
- Matrix to be used for the inputs observations