JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.simulatedAnnealing
Class Breeder

java.lang.Object
  extended bygov.nasa.javaGenes.core.Breeder
      extended bygov.nasa.javaGenes.hillClimbing.Breeder
          extended bygov.nasa.javaGenes.simulatedAnnealing.Breeder
All Implemented Interfaces:
java.io.Serializable

public class Breeder
extends Breeder

implements simulated annealing. Population size must be 2. One anneals and the other holds the best so far.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nasa.javaGenes.hillClimbing.Breeder
accepter, randomChildMaker, restartPolicy
 
Fields inherited from class gov.nasa.javaGenes.core.Breeder
childMakerProvider, debug, tournamentProbability
 
Constructor Summary
Breeder(Parameters p, Accepter inAccepter)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class gov.nasa.javaGenes.hillClimbing.Breeder
breed, requiredPopulationSize
 
Methods inherited from class gov.nasa.javaGenes.core.Breeder
antiTournamentGetIndex, breed, chooseBest, chooseWorst, generationIsComplete, generationJustStarting, generationNotComplete, getFitnessFunction, getGenerationIndex, getTotalNumberOfKidsProduced, isProtected, newChild, newChildrenCreated, pickOne, reportOnGeneration, setFitnessFunction, setGenerationIndex, setTotalNumberOfKidsProduced, stateRestore, stateSave, tournament, useTournament
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Breeder

public Breeder(Parameters p,
               Accepter inAccepter)
Method Detail

toString

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

JavaGenes, NASA Ames. Written largely by Al Globus