Package adams.opt.optimise.genetic
Class PackDataGeneticAlgorithm
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.opt.optimise.AbstractOptimiser
-
- adams.opt.optimise.genetic.AbstractGeneticAlgorithm
-
- adams.opt.optimise.genetic.PackDataGeneticAlgorithm
-
- All Implemented Interfaces:
adams.core.CleanUpHandler
,adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.SizeOfHandler
,Serializable
,Comparable
- Direct Known Subclasses:
GeneticAlgorithm
public abstract class PackDataGeneticAlgorithm extends AbstractGeneticAlgorithm
???- Author:
- Dale (dale at cs dot waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected PackDataDef
m_pdd
-
Fields inherited from class adams.opt.optimise.genetic.AbstractGeneticAlgorithm
m_BestRange, m_FavorZeroes, m_Fitness, m_Genes, m_Iterations, m_MaxTrainTime, m_NumChrom, m_NumGenes, m_Random, m_Running, m_Seed, m_TrainStart, PROPS_FILTER, PROPS_MASK, PROPS_RELATION
-
-
Constructor Summary
Constructors Constructor Description PackDataGeneticAlgorithm()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract PackDataDef
getDataDef()
abstract List<PackData>
getDataSetups()
List<int[]>
getInitialSetups()
void
init(int ch)
protected void
print(double[] bits)
protected void
printBits(int[] bits)
-
Methods inherited from class adams.opt.optimise.genetic.AbstractGeneticAlgorithm
bestRangeTipText, calcFitness, copyGene, defineOptions, doCrossovers, doMutations, doMutations2, favorZeroesTipText, forCommandLine, forName, getBestRange, getFavorZeroes, getFitness, getGene, getGeneticAlgorithms, getIterations, getMaxTrainTime, getNumChrom, getNumGenes, getSeed, hasMoreZeroes, init, initialize, isRunning, iterationsTipText, maxTrainTimeTipText, numChromTipText, postRun, preRun, reset, run, runGeneticAlgorithm, seedTipText, setBestRange, setBestRange, setFavorZeroes, setGene, setGene, setIterations, setMaxTrainTime, setNumChrom, setSeed, sort, stop, storeSetup, updateHeader
-
Methods inherited from class adams.opt.optimise.AbstractOptimiser
checkBest, cleanUp, compareTo, destroy, equals, getOptimisers, optimise, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Field Detail
-
m_pdd
protected PackDataDef m_pdd
-
-
Method Detail
-
printBits
protected void printBits(int[] bits)
-
print
protected void print(double[] bits)
-
getInitialSetups
public List<int[]> getInitialSetups()
- Specified by:
getInitialSetups
in classAbstractGeneticAlgorithm
-
init
public void init(int ch)
-
getDataDef
public abstract PackDataDef getDataDef()
-
-