public class DrawChildrenOperation extends Operation
processPopulation(Population)
method and breaks with the GoF template method pattern.processPopulation(Population)
,
processIndividual(Individual)
Constructor and Description |
---|
DrawChildrenOperation(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
Population |
processPopulation(Population pop)
Reloads the input image of the given population and draws all children
in the population with rectangles.
|
configure, generateId, getConfiguration
public Population processPopulation(Population pop)
processPopulation
in class Operation
pop
- populationjava.lang.NullPointerException
- if pop or pop.inputFile is nullOperation.processIndividual(Individual)