@FunctionalInterface
public interface Step<T extends Agent>
Modifier and Type | Method and Description |
---|---|
io.vavr.collection.List<T> |
stepOn(long stepNumber,
io.vavr.collection.List<T> population,
Environment environment)
Method invoked during each iteration.
|
io.vavr.collection.List<T> stepOn(long stepNumber, io.vavr.collection.List<T> population, Environment environment)
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