JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.evolvableDoubleList
Class MutationInsert

java.lang.Object
  extended bygov.nasa.javaGenes.core.ChildMaker
      extended bygov.nasa.javaGenes.evolvableDoubleList.ChildMaker
          extended bygov.nasa.javaGenes.evolvableDoubleList.MutationInsert
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class MutationInsert
extends ChildMaker

See Also:
Serialized Form

Field Summary
protected  int[] numberToInsert
           
 
Fields inherited from class gov.nasa.javaGenes.evolvableDoubleList.ChildMaker
selector
 
Fields inherited from class gov.nasa.javaGenes.core.ChildMaker
cumulative, forEvolution, last
 
Constructor Summary
MutationInsert(int[] numberToInsert)
           
MutationInsert(Selector selector, int[] numberToInsert)
           
 
Method Summary
 Evolvable mutate(Evolvable child)
          mutators should over-ride, subclasses with multiple parents can ignore.
 java.lang.String toString()
           
 
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, makeChildren, neverUsed, numberOfParents, proportionDown, results, setFitnessFunction, setFitnessFunctionNames, subClassMeasures, tabSeparatedResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

numberToInsert

protected int[] numberToInsert
Constructor Detail

MutationInsert

public MutationInsert(int[] numberToInsert)

MutationInsert

public MutationInsert(Selector selector,
                      int[] numberToInsert)
Method Detail

mutate

public Evolvable mutate(Evolvable child)
Description copied from class: ChildMaker
mutators should over-ride, subclasses with multiple parents can ignore. This method should never be called from anywhere but makeChildren(Evolvable[]) in this class.

Overrides:
mutate in class ChildMaker
Returns:
the input Evolvable in mutated condition

toString

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

JavaGenes, NASA Ames. Written largely by Al Globus