JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.core.HFC
Class MiddleSubBreeder

java.lang.Object
  extended bygov.nasa.javaGenes.core.HFC.SubBreeder
      extended bygov.nasa.javaGenes.core.HFC.MiddleSubBreeder
All Implemented Interfaces:
java.io.Serializable

public class MiddleSubBreeder
extends SubBreeder

See Also:
Serialized Form

Field Summary
 boolean killParents
           
 
Fields inherited from class gov.nasa.javaGenes.core.HFC.SubBreeder
acceptRandomIndividualFitnessThreshold, bestFitnessAllowed, breeder, childMakerProvider, deathRow, debug, fitnessFunction, grimReaper, indicesRange, MAX_TRIES, parentChooser, promotionsTo
 
Constructor Summary
MiddleSubBreeder(ChildMakerProvider childMakerProvider, FitnessFunction fitnessFunction)
           
MiddleSubBreeder(ChildMakerProvider childMakerProvider, FitnessFunction fitnessFunction, boolean killParents)
           
 
Method Summary
 void parentsOfPromoted(int[] parentIndices, Population population)
           
 java.lang.String toString()
           
 
Methods inherited from class gov.nasa.javaGenes.core.HFC.SubBreeder
acceptPromotion, areIndividualsInFitnessRange, areValidIndices, assertIndividualsInFitnessRange, breedOnce, createRandomIndividual, createRandomIndividual, getBestFitnessAllowed, getFitnessFunction, getIndexToKill, getParentIndices, getRandomEvolvable, getTotalNumberOfKidsProduced, incrementBestFitnessAllowed, isValidIndex, makeChildren, newChild, numberOfIndices, promote, promoteTooFitIndividuals, setAcceptRandomIndividualFitnessThreshold, setBestFitnessAllowed, setBreeder, setGrimReaper, setIndexRange, setIndividual, setParentChooser, setPromotionsTo, shouldPromote, toDeathRow, toDeathRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

killParents

public boolean killParents
Constructor Detail

MiddleSubBreeder

public MiddleSubBreeder(ChildMakerProvider childMakerProvider,
                        FitnessFunction fitnessFunction)

MiddleSubBreeder

public MiddleSubBreeder(ChildMakerProvider childMakerProvider,
                        FitnessFunction fitnessFunction,
                        boolean killParents)
Method Detail

parentsOfPromoted

public void parentsOfPromoted(int[] parentIndices,
                              Population population)
Overrides:
parentsOfPromoted in class SubBreeder

toString

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

JavaGenes, NASA Ames. Written largely by Al Globus