|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.leeds.ccg.andyt.projects.moses.process.GeneticAlgorithm
public class GeneticAlgorithm
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 |
---|
protected IndividualCensus _IndividualCensus
public int _InitialPopulationSize
public int _MaxNumberOfSolutions
public int _ConvergenceThreshold
public int _MaxNumberOfMutationsPerChild
public int _MaxNumberOfMutationsPerParent
public int _NumberOfOptimisationIterations
protected java.util.Random _Random
protected long _RandomSeed
protected java.lang.Object[] _FitnessCounts
protected CASDataRecord _CASDataRecord
protected CASKS002DataRecord _CASKS002DataRecord
Constructor Detail |
---|
public GeneticAlgorithm()
public GeneticAlgorithm(int _InitialPopulationSize, int _NumberOfOptimisationIterations, int _MaxNumberOfSolutions, int _ConvergenceThreshold, int _MaxNumberOfMutationsPerChild, int _MaxNumberOfMutationsPerParent, long _RandomSeed)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |