public class SearchMinOneListener extends SearchListenerAdapter<ISolverService>
Constructor and Description |
---|
SearchMinOneListener(SolutionFoundListener sfl) |
Modifier and Type | Method and Description |
---|---|
void |
end(Lbool result)
End the search.
|
void |
init(ISolverService solverService)
Provide access to the solver's controllable interface.
|
void |
solutionFound(int[] model,
RandomAccessModel lazyModel)
a solution is found.
|
adding, assuming, backjump, backtracking, beginLoop, cleaning, conflictFound, conflictFound, delete, learn, propagating, restarting, start
public SearchMinOneListener(SolutionFoundListener sfl)
public void init(ISolverService solverService)
SearchListener
init
in interface SearchListener<ISolverService>
init
in class SearchListenerAdapter<ISolverService>
solverService
- a way to safely control the solver.public void solutionFound(int[] model, RandomAccessModel lazyModel)
SearchListener
solutionFound
in interface SearchListener<ISolverService>
solutionFound
in class SearchListenerAdapter<ISolverService>
model
- the model foundlazyModel
- TODOpublic void end(Lbool result)
SearchListener
end
in interface SearchListener<ISolverService>
end
in class SearchListenerAdapter<ISolverService>
result
- the result of the search.Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.