JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.evolvableDoubleList
Class NeighboringPairsSelector

java.lang.Object
  extended bygov.nasa.javaGenes.evolvableDoubleList.Selector
      extended bygov.nasa.javaGenes.evolvableDoubleList.NeighboringPairsSelector
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SelectOneNeighboringPair, SelectTwoNeighboringPairs

public class NeighboringPairsSelector
extends Selector

used for type checking in Crossover.java and subclasses

See Also:
Serialized Form

Field Summary
protected  SelectModulo simpleSelector
           
 
Fields inherited from class gov.nasa.javaGenes.evolvableDoubleList.Selector
MAXIMUM_TRIES
 
Constructor Summary
protected NeighboringPairsSelector(Selector simpleSelector, int modulo, int offset)
           
 
Method Summary
 Indices getIndices(int size)
           
 
Methods inherited from class gov.nasa.javaGenes.evolvableDoubleList.Selector
getIndicesArray, getIndicesArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleSelector

protected SelectModulo simpleSelector
Constructor Detail

NeighboringPairsSelector

protected NeighboringPairsSelector(Selector simpleSelector,
                                   int modulo,
                                   int offset)
Method Detail

getIndices

public Indices getIndices(int size)
Specified by:
getIndices in class Selector

JavaGenes, NASA Ames. Written largely by Al Globus