JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.evolvableDoubleList
Class CrossoverOnePoint

java.lang.Object
  extended bygov.nasa.javaGenes.core.ChildMaker
      extended bygov.nasa.javaGenes.evolvableDoubleList.ChildMaker
          extended bygov.nasa.javaGenes.evolvableDoubleList.Crossover
              extended bygov.nasa.javaGenes.evolvableDoubleList.CrossoverOnePoint
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
CrossoverOnePointEach

public class CrossoverOnePoint
extends Crossover

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nasa.javaGenes.evolvableDoubleList.ChildMaker
selector
 
Fields inherited from class gov.nasa.javaGenes.core.ChildMaker
cumulative, forEvolution, last
 
Constructor Summary
CrossoverOnePoint()
           
CrossoverOnePoint(int modulo)
           
CrossoverOnePoint(int modulo, int offset)
           
CrossoverOnePoint(SelectOneNeighboringPair selector)
           
 
Method Summary
protected  void crossover(EvolvableDoubleList child, EvolvableDoubleList front, EvolvableDoubleList back, int[] frontIndices, int[] backIndices)
           
 java.lang.String toString()
           
 
Methods inherited from class gov.nasa.javaGenes.evolvableDoubleList.Crossover
getFirstParentIndicesArray, getIndicesArray, getNeighboringPairsSelector, getSecondParentIndicesArray, getSmallerParent, makeChildren, numberOfParents
 
Methods inherited from class gov.nasa.javaGenes.evolvableDoubleList.ChildMaker
getSelector
 
Methods inherited from class gov.nasa.javaGenes.core.ChildMaker
checkLastResults, checkResults, clearLast, getAndClearLastTabSeparatedResults, getFitnessFunctionNames, getLastTabSeparatedResults, headerFragment, makeChildren, mutate, neverUsed, proportionDown, results, setFitnessFunction, setFitnessFunctionNames, subClassMeasures, tabSeparatedResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CrossoverOnePoint

public CrossoverOnePoint()

CrossoverOnePoint

public CrossoverOnePoint(int modulo)

CrossoverOnePoint

public CrossoverOnePoint(int modulo,
                         int offset)

CrossoverOnePoint

public CrossoverOnePoint(SelectOneNeighboringPair selector)
Method Detail

crossover

protected void crossover(EvolvableDoubleList child,
                         EvolvableDoubleList front,
                         EvolvableDoubleList back,
                         int[] frontIndices,
                         int[] backIndices)
Overrides:
crossover in class Crossover

toString

public java.lang.String toString()
Overrides:
toString in class ChildMaker

JavaGenes, NASA Ames. Written largely by Al Globus