Class FixedElapsedTime

java.lang.Object
org.apache.commons.math3.genetics.FixedElapsedTime
All Implemented Interfaces:
StoppingCondition

public class FixedElapsedTime extends Object implements StoppingCondition
Stops after a fixed amount of time has elapsed.

The first time isSatisfied(Population) is invoked, the end time of the evolution is determined based on the provided maxTime value. Once the elapsed time reaches the configured maxTime value, isSatisfied(Population) returns true.

Since:
3.1