JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.evolvableDoubleList
Class SelectTwoNeighboringPairs

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

public class SelectTwoNeighboringPairs
extends NeighboringPairsSelector

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nasa.javaGenes.evolvableDoubleList.NeighboringPairsSelector
simpleSelector
 
Fields inherited from class gov.nasa.javaGenes.evolvableDoubleList.Selector
MAXIMUM_TRIES
 
Constructor Summary
SelectTwoNeighboringPairs()
           
SelectTwoNeighboringPairs(int firstModulo)
           
SelectTwoNeighboringPairs(int firstModulo, int firstOffset)
           
 
Method Summary
 Indices getIndices(int size)
           
 int[] getIndicesArray(int size)
          necessary because the pairs can overlap
 java.lang.String toString()
           
 
Methods inherited from class gov.nasa.javaGenes.evolvableDoubleList.Selector
getIndicesArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectTwoNeighboringPairs

public SelectTwoNeighboringPairs()

SelectTwoNeighboringPairs

public SelectTwoNeighboringPairs(int firstModulo)

SelectTwoNeighboringPairs

public SelectTwoNeighboringPairs(int firstModulo,
                                 int firstOffset)
Method Detail

getIndicesArray

public int[] getIndicesArray(int size)
necessary because the pairs can overlap

Overrides:
getIndicesArray in class Selector

getIndices

public Indices getIndices(int size)
Overrides:
getIndices in class NeighboringPairsSelector

toString

public java.lang.String toString()

JavaGenes, NASA Ames. Written largely by Al Globus