Package net.bmahe.genetics4j.core
Class PopulationIterator<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.PopulationIterator<T>
- All Implemented Interfaces:
Iterator<Individual<T>>
public class PopulationIterator<T extends Comparable<T>>
extends Object
implements Iterator<Individual<T>>
-
Field Details
-
population
-
currentIndex
private int currentIndex
-
-
Constructor Details
-
PopulationIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<T extends Comparable<T>>
-
next
- Specified by:
next
in interfaceIterator<T extends Comparable<T>>
-