JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.core.HFC
Class BottomSubBreeder

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

public class BottomSubBreeder
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
BottomSubBreeder(ChildMakerProvider childMakerProvider, FitnessFunction fitnessFunction)
           
BottomSubBreeder(ChildMakerProvider childMakerProvider, FitnessFunction fitnessFunction, boolean killParents)
           
 
Method Summary
 void acceptPromotion(Individual individual, Population population)
           
 void parentsOfPromoted(int[] parentIndices, Population population)
           
 java.lang.String toString()
           
 
Methods inherited from class gov.nasa.javaGenes.core.HFC.SubBreeder
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

BottomSubBreeder

public BottomSubBreeder(ChildMakerProvider childMakerProvider,
                        FitnessFunction fitnessFunction)

BottomSubBreeder

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

acceptPromotion

public void acceptPromotion(Individual individual,
                            Population population)
Overrides:
acceptPromotion in class SubBreeder

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