JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.core
Class Parameters

java.lang.Object
  extended bygov.nasa.javaGenes.core.Parameters
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ChromosomeParameters, GraphParameters, Parameters, PermutationParameters

public class Parameters
extends java.lang.Object
implements java.io.Serializable

stores parameters for a run

See Also:
Serialized Form

Field Summary
 Breeder breeder
           
 ChildMakerProvider childMakerProvider
           
 FitnessFunction evaluationFunction
           
 FitnessFunction fitnessFunction
           
 int frequencyOfASCIIPopulations
           
 int kidsPerGeneration
           
 boolean logBestEvolvableEachGeneration
           
 int maximumGenerations
           
 FitnessFunction paretoFitness
           
 int populationSize
          minimum 3 to allow tournament selection
 int randomIndividualTriesPerSpecification
           
 boolean reportVariationOperatorPerformanceEachGeneration
           
 boolean separateLogAndEvolvableFiles
           
static java.lang.String SEPARATOR
           
 boolean stopAtPerfection
          if true, end run when best fitness equals 0
 java.io.File stopFile
          after each generation check for this file.
 java.io.File suspendFile
          after each generation check for this file.
 int suspendTime
           
 double tournamentProbability
           
 
Constructor Summary
Parameters()
           
 
Method Summary
 void makeFiles()
          create any files necessary to describe the parameters.
 java.lang.String toString()
          does not be to be changed when fields are changed, but has a bug that occurs when a field is a interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SEPARATOR

public static final java.lang.String SEPARATOR
See Also:
Constant Field Values

populationSize

public int populationSize
minimum 3 to allow tournament selection


kidsPerGeneration

public int kidsPerGeneration

maximumGenerations

public int maximumGenerations

tournamentProbability

public double tournamentProbability

fitnessFunction

public FitnessFunction fitnessFunction

evaluationFunction

public FitnessFunction evaluationFunction

paretoFitness

public FitnessFunction paretoFitness

breeder

public Breeder breeder

childMakerProvider

public ChildMakerProvider childMakerProvider

separateLogAndEvolvableFiles

public boolean separateLogAndEvolvableFiles

logBestEvolvableEachGeneration

public boolean logBestEvolvableEachGeneration

reportVariationOperatorPerformanceEachGeneration

public boolean reportVariationOperatorPerformanceEachGeneration

randomIndividualTriesPerSpecification

public int randomIndividualTriesPerSpecification

frequencyOfASCIIPopulations

public int frequencyOfASCIIPopulations

stopFile

public java.io.File stopFile
after each generation check for this file. If exists, end the run.


suspendFile

public java.io.File suspendFile
after each generation check for this file. If exists, suspend for suspendTime milliseconds.


suspendTime

public int suspendTime

stopAtPerfection

public boolean stopAtPerfection
if true, end run when best fitness equals 0

Constructor Detail

Parameters

public Parameters()
Method Detail

makeFiles

public void makeFiles()
create any files necessary to describe the parameters. Used for things that won't show up in the string representation.


toString

public java.lang.String toString()
does not be to be changed when fields are changed, but has a bug that occurs when a field is a interface


JavaGenes, NASA Ames. Written largely by Al Globus