@FunctionalInterface
public interface Step<T extends Solution<?>>
Modifier and Type | Method and Description |
---|---|
io.vavr.collection.List<T> |
stepOn(long stepNumber,
io.vavr.collection.List<T> population)
Method invoked during each iteration.
|
io.vavr.collection.List<T> stepOn(long stepNumber, io.vavr.collection.List<T> population)
Method invoked during each iteration. Make sure that a minimum number of operations is executed here.
stepNumber
- the current step numberpopulation
- the current populationenvironment
- the environment