Jannis (0.1preAlpha) | ||
Prev Class | Next Class | Frames | No Frames | |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
de.webdings.jannis.neuralnet.NeuronIDFinder
public class NeuronIDFinder
extends java.lang.Object
Constructor Summary | |
| |
|
Method Summary | |
int |
|
int |
|
public NeuronIDFinder(NeuralNet net)
Constructs aNeuronIDFinder
that can search the specifiedNeuralNet
.
- Parameters:
net
-
public NeuronIDFinder(Neuron[][] layers)
Constructs aNeuronIDFinder
that can search theNeuralNet
specified by its layers..
- Parameters:
layers
-
public int getLayerID(Neuron neuron) throws NeuronNotFoundException
- Parameters:
neuron
-
- Returns:
- The ID of the layer the specified neuron resides in.
- Throws:
NeuronNotFoundException
-
public int getNeuronID(Neuron neuron) throws NeuronNotFoundException
- Parameters:
neuron
-
- Returns:
- The ID of the neuron within the layer it resides in.
- Throws:
NeuronNotFoundException
-
This file is part of Jannis.
Jannis is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Jannis is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Jannis; if not, write to the
Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Jannis (0.1preAlpha) |
© 2005 by Stefan Thesing;
Verbatim copying and redistribution of this entire page are permitted provided this notice is preserved.