uk.ac.leeds.ccg.andyt.projects.moses.process
Class GeneticAlgorithm

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.projects.moses.process.GeneticAlgorithm
Direct Known Subclasses:
GeneticAlgorithm_HSARHP_ISARCEP, GeneticAlgorithm_ISARHP_ISARCEP

public class GeneticAlgorithm
extends java.lang.Object

An abstract class to be extended by classes that evolve a better fitting Individual and Household level data for the UK.


Field Summary
protected  CASDataRecord _CASDataRecord
          For holding a reference to a CASDataRecord
protected  CASKS002DataRecord _CASKS002DataRecord
          For holding a reference to a CASKS002DataRecord
 int _ConvergenceThreshold
          Stores the convergence threshold used during an optimisation
protected  java.lang.Object[] _FitnessCounts
          For holding fitness counts
protected  IndividualCensus _IndividualCensus
          For holding a reference to the IndividualCensus class which instantiated this.
 int _InitialPopulationSize
          Stores the initial population size for an optimisation
 int _MaxNumberOfMutationsPerChild
          Stores the maximum number of mutations or changes per child used during an optimisation
 int _MaxNumberOfMutationsPerParent
          Stores the maximum number of mutations or changes per parent used during an optimisation
 int _MaxNumberOfSolutions
          Stores the maximum number of solutions stored during an optimisation
 int _NumberOfOptimisationIterations
          Stores the number of optimisation iterations of an optimisation
protected  java.util.Random _Random
          For holding a reference to a random number generator.
protected  long _RandomSeed
          For storing the seed for random number generation.
 
Constructor Summary
GeneticAlgorithm()
           
GeneticAlgorithm(int _InitialPopulationSize, int _NumberOfOptimisationIterations, int _MaxNumberOfSolutions, int _ConvergenceThreshold, int _MaxNumberOfMutationsPerChild, int _MaxNumberOfMutationsPerParent, long _RandomSeed)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_IndividualCensus

protected IndividualCensus _IndividualCensus
For holding a reference to the IndividualCensus class which instantiated this.


_InitialPopulationSize

public int _InitialPopulationSize
Stores the initial population size for an optimisation


_MaxNumberOfSolutions

public int _MaxNumberOfSolutions
Stores the maximum number of solutions stored during an optimisation


_ConvergenceThreshold

public int _ConvergenceThreshold
Stores the convergence threshold used during an optimisation


_MaxNumberOfMutationsPerChild

public int _MaxNumberOfMutationsPerChild
Stores the maximum number of mutations or changes per child used during an optimisation


_MaxNumberOfMutationsPerParent

public int _MaxNumberOfMutationsPerParent
Stores the maximum number of mutations or changes per parent used during an optimisation


_NumberOfOptimisationIterations

public int _NumberOfOptimisationIterations
Stores the number of optimisation iterations of an optimisation


_Random

protected java.util.Random _Random
For holding a reference to a random number generator.


_RandomSeed

protected long _RandomSeed
For storing the seed for random number generation.


_FitnessCounts

protected java.lang.Object[] _FitnessCounts
For holding fitness counts


_CASDataRecord

protected CASDataRecord _CASDataRecord
For holding a reference to a CASDataRecord


_CASKS002DataRecord

protected CASKS002DataRecord _CASKS002DataRecord
For holding a reference to a CASKS002DataRecord

Constructor Detail

GeneticAlgorithm

public GeneticAlgorithm()

GeneticAlgorithm

public GeneticAlgorithm(int _InitialPopulationSize,
                        int _NumberOfOptimisationIterations,
                        int _MaxNumberOfSolutions,
                        int _ConvergenceThreshold,
                        int _MaxNumberOfMutationsPerChild,
                        int _MaxNumberOfMutationsPerParent,
                        long _RandomSeed)