public abstract class Operation
extends java.lang.Object
Constructor and Description |
---|
Operation(java.lang.String name)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
configure(java.lang.String[] argv)
Parse the command line arguments.
|
static java.lang.String |
generateId(int idx)
Generate string representation of ID given the numerical value.
|
Configuration |
getConfiguration()
Get the configuration instance for this operation.
|
Population |
processPopulation(Population pop)
Process the given population and create a new population with the
processed individuals.
|
public Operation(java.lang.String name)
name
- Name of the operationpublic void configure(java.lang.String[] argv)
argv
- string array with command line argumentsConfiguration.processCommandLineArguments(String[])
public Configuration getConfiguration()
public Population processPopulation(Population pop)
pop
- input populationprocessIndividual(Individual)
public static java.lang.String generateId(int idx)
idx
- the numerical id