net.sourceforge.cilib.neuralnetwork.generic
Class StandardLayerIterator
java.lang.Object
net.sourceforge.cilib.neuralnetwork.generic.StandardLayerIterator
- All Implemented Interfaces:
- LayerIterator
public class StandardLayerIterator
- extends Object
- implements LayerIterator
- Author:
- stefanv
A Standard iterator for traversing a layer of NeuronConfoig objects in order.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardLayerIterator
public StandardLayerIterator(ArrayList<NeuronConfig> layer)
nextNeuron
public void nextNeuron()
- Specified by:
nextNeuron
in interface LayerIterator
value
public NeuronConfig value()
- Specified by:
value
in interface LayerIterator
getNrNeurons
public int getNrNeurons()
- Specified by:
getNrNeurons
in interface LayerIterator
hasMore
public boolean hasMore()
- Specified by:
hasMore
in interface LayerIterator
reset
public void reset()
- Specified by:
reset
in interface LayerIterator
currentPosition
public int currentPosition()
- Specified by:
currentPosition
in interface LayerIterator
Copyright © 2009 CIRG. All Rights Reserved.