de.kumpe.hadooptimizer.examples
Class OptimizerExample<I>
java.lang.Object
org.apache.hadoop.conf.Configured
de.kumpe.hadooptimizer.examples.Example
de.kumpe.hadooptimizer.examples.OptimizerExample<I>
- Type Parameters:
I
- the individual's type
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable
- Direct Known Subclasses:
- HadoopTest, IncrementingOffspring, IncrementingSleep, JenevaSleepExample, JenevaXorExample, Kit, Loop, MinimumInGraph, MinimumInPolygon, MonaLisa, NoOp, PolygonPaint, Polynomial, Rastrigin, Rosenbrock, Sleep, XorNet
public abstract class OptimizerExample<I>
- extends Example
Base class for all "executables" in the examples module. It delivers a basic
infrastructure for a common workflow:
createOptions()
processCommandLine()
execute()
- Author:
- Christian Kumpe
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf, setConf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTION_STANDARD_DEVIATION
protected static final String OPTION_STANDARD_DEVIATION
- See Also:
- Constant Field Values
OPTION_ZERO_PADDING
protected static final String OPTION_ZERO_PADDING
- See Also:
- Constant Field Values
OPTION_MULTI_POPULATIONS
protected static final String OPTION_MULTI_POPULATIONS
- See Also:
- Constant Field Values
OPTION_ES
protected static final String OPTION_ES
- See Also:
- Constant Field Values
OPTION_EA
protected static final String OPTION_EA
- See Also:
- Constant Field Values
OPTION_OFFSPRING
protected static final String OPTION_OFFSPRING
- See Also:
- Constant Field Values
OPTION_PRESERVE_PARENTS
protected static final String OPTION_PRESERVE_PARENTS
- See Also:
- Constant Field Values
OPTION_EVALUATION_LIMIT
protected static final String OPTION_EVALUATION_LIMIT
- See Also:
- Constant Field Values
OPTION_TIME_LIMIT
protected static final String OPTION_TIME_LIMIT
- See Also:
- Constant Field Values
OPTION_NS_LIMIT
protected static final String OPTION_NS_LIMIT
- See Also:
- Constant Field Values
OPTION_CYCLES
protected static final String OPTION_CYCLES
- See Also:
- Constant Field Values
OPTION_PARENTS
protected static final String OPTION_PARENTS
- See Also:
- Constant Field Values
parents
protected int parents
preserveParents
protected boolean preserveParents
offspring
protected int offspring
standardDeviation
protected double standardDeviation
OptimizerExample
public OptimizerExample()
createOptions
protected org.apache.commons.cli.Options createOptions()
throws Exception
- Overrides:
createOptions
in class Example
- Throws:
Exception
processCommandLine
protected void processCommandLine()
throws Exception
- Overrides:
processCommandLine
in class Example
- Throws:
Exception
execute
protected void execute()
throws Exception
- Specified by:
execute
in class Example
- Throws:
Exception
createEaOptimizerConfiguration
protected EaOptimizerConfiguration<I> createEaOptimizerConfiguration()
throws org.apache.commons.cli.ParseException
- Throws:
org.apache.commons.cli.ParseException
createEsOptimizerConfiguration
protected EsOptimizerConfiguration createEsOptimizerConfiguration()
throws org.apache.commons.cli.ParseException
- Throws:
org.apache.commons.cli.ParseException
initConfiguration
protected void initConfiguration(EaOptimizerConfigurationBase<I> configuration,
I startIndividual)
initConfiguration
protected void initConfiguration(EaOptimizerConfiguration<I> configuration,
I startIndividual)
initConfiguration
protected void initConfiguration(EsOptimizerConfiguration configuration,
I startIndividual)
addReporter
protected void addReporter(ReportingHalterWrapper.Reporter<I> reporter)
Copyright © 2011 Christian Kumpe. All Rights Reserved.