Package xal.extension.solver
Interface Stopper
- All Known Implementing Classes:
Matcher
public interface Stopper
Stopper is an interface for an object than can be used to stop a solver.
- Author:
- ky6
-
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldStop
(Solver aSolver) Signal whether the solver should stop.
-
Method Details
-
shouldStop
Signal whether the solver should stop.- Parameters:
aSolver
- The solver the stopper was generated for.- Returns:
- true to stop the solver and false to continue solving.
-