|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.htwdd.rosenkoenig.neuro.net.Layer
de.htwdd.rosenkoenig.neuro.net.InputLayer
public class InputLayer
This class represents an input layer.
| Field Summary | |
|---|---|
protected double[] |
input
The array containing the input of the InputLayer. |
private int |
inputSize
The input size of this layer (i.e. the number of inputs per pattern). |
| Fields inherited from class de.htwdd.rosenkoenig.neuro.net.Layer |
|---|
activationFunction, biased, nettoInput, neuronsThatAreNotBiasedCount, output, outputSynapse |
| Constructor Summary | |
|---|---|
InputLayer()
Default ctor. |
|
InputLayer(int numNeurons,
boolean biased)
Ctor that creates an InputLayer with numNeurons that is biased or not. |
|
InputLayer(int numNeurons,
boolean biased,
ActivationFunction activationFunction)
Ctor that creates a InnerLayer with numNeurons that is biased or not. |
|
| Method Summary | |
|---|---|
double[] |
getInput()
Getter of the property input |
void |
propagate()
Propagate a pattern through the net. |
void |
setInput(double[] input)
Setter of the property input |
| Methods inherited from class de.htwdd.rosenkoenig.neuro.net.Layer |
|---|
getActivationFunction, getNettoInput, getNeuronsThatAreNotBiasedCount, getOutput, getOutputSynapse, getSize, isBiased, setActivationFunction, setBiased, setOutputSynapse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int inputSize
protected double[] input
| Constructor Detail |
|---|
public InputLayer()
public InputLayer(int numNeurons,
boolean biased)
numNeurons - the number of neurons for this InputLayerbiased - whether or not this InputLayer is a biased one
public InputLayer(int numNeurons,
boolean biased,
ActivationFunction activationFunction)
numNeurons - the number of neurons for this InputLayerbiased - whether or not this InputLayer is a biased one| Method Detail |
|---|
public double[] getInput()
public void setInput(double[] input)
input - The inputs to set.public void propagate()
propagate in class Layer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||