localsolver
public interface LSCallback
Note: When a callback is called, the solver is paused.
In that state, you can call all the methods marked as "allowed in state
LSState.Paused". Calling any other method will throw an error.
| Modifier and Type | Method and Description |
|---|---|
void |
callback(LocalSolver solver,
LSCallbackType type)
The function that will be called during LocalSolver search.
|
void callback(LocalSolver solver, LSCallbackType type)
solver - The solver calling the function.type - The type of event that triggered the call.