Interface Incrementor.MaxCountExceededCallback
- All Known Implementing Classes:
AbstractOptimizationProblem.MaxEvalCallback, AbstractOptimizationProblem.MaxIterCallback, BaseOptimizer.MaxEvalCallback, BaseOptimizer.MaxIterCallback
- Enclosing class:
Incrementor
public static interface Incrementor.MaxCountExceededCallback
Defines a method to be called at counter exhaustion.
The
trigger method should usually throw an exception.- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidtrigger(int maximalCount) Function called when the maximal count has been reached.
-
Method Details
-
trigger
Function called when the maximal count has been reached.- Parameters:
maximalCount- Maximal count.- Throws:
MaxCountExceededException- at counter exhaustion
-