Modifier and Type | Field and Description |
---|---|
protected int |
index
Index of the neuron
|
protected static <any> |
XML
Marshal/Unmarshal neuron index
|
Constructor and Description |
---|
InputNeuron()
Empty Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(INeuron other)
Checks if this link is equal to another
|
int |
getIndex()
Returns the index associated to this neuron
|
int |
hashCode()
Returns an integer number that identifies the neuron
|
double |
operate(double[] inputs)
Operates this neuron.
|
double[] |
operate(double[][] inputs)
Operates this neuron.
|
double[] |
operate(DoubleTransposedDataSet dataSet)
Operates this neuron.
|
void |
setIndex(int index)
Sets the index associated to this neuron
|
java.lang.String |
toString()
Returns a string representation of the InputNeuron
|
protected static final <any> XML
Marshal/Unmarshal neuron index
protected int index
public int getIndex()
Returns the index associated to this neuron
public void setIndex(int index)
Sets the index associated to this neuron
index
- New index of the neuronpublic boolean equals(INeuron other)
Checks if this link is equal to another
public int hashCode()
Returns an integer number that identifies the neuron
public double operate(double[] inputs)
Operates this neuron. An input neuron has to do no operation
public double[] operate(DoubleTransposedDataSet dataSet)
Operates this neuron. An input neuron has to do no operation
dataSet
- DataSet to be used for the inputs observationspublic double[] operate(double[][] inputs)
Operates this neuron. An input neuron has to do no operation
public java.lang.String toString()
Returns a string representation of the InputNeuron
toString
in class java.lang.Object