JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.evolvableDoubleList
Class SelectChunk

java.lang.Object
  extended bygov.nasa.javaGenes.evolvableDoubleList.Selector
      extended bygov.nasa.javaGenes.evolvableDoubleList.SelectChunk
All Implemented Interfaces:
java.io.Serializable

public class SelectChunk
extends Selector

See Also:
Serialized Form

Field Summary
protected  int[] numberToChoose
           
protected  SelectModulo simpleSelector
           
 
Fields inherited from class gov.nasa.javaGenes.evolvableDoubleList.Selector
MAXIMUM_TRIES
 
Constructor Summary
SelectChunk(int[] numberToChoose)
           
SelectChunk(int[] numberToChoose, int modulo)
           
SelectChunk(int[] numberToChoose, int modulo, int offset)
           
SelectChunk(Selector selector, int[] numberToChoose, int modulo, int offset)
           
 
Method Summary
 Indices getIndices(int size)
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Field Detail

simpleSelector

protected SelectModulo simpleSelector

numberToChoose

protected int[] numberToChoose
Constructor Detail

SelectChunk

public SelectChunk(int[] numberToChoose)

SelectChunk

public SelectChunk(int[] numberToChoose,
                   int modulo)

SelectChunk

public SelectChunk(int[] numberToChoose,
                   int modulo,
                   int offset)

SelectChunk

public SelectChunk(Selector selector,
                   int[] numberToChoose,
                   int modulo,
                   int offset)
Method Detail

getIndices

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

toString

public java.lang.String toString()

JavaGenes, NASA Ames. Written largely by Al Globus