public class SearchEnumeratorListener extends SearchListenerAdapter<ISolverService>
| Constructor and Description | 
|---|
SearchEnumeratorListener(SolutionFoundListener sfl)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
end(Lbool result)
End the search. 
 | 
int | 
getNumberOfSolutionFound()  | 
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, learnUnit, propagating, restarting, startpublic SearchEnumeratorListener(SolutionFoundListener sfl)
public void init(ISolverService solverService)
SearchListenerinit in interface SearchListener<ISolverService>init in class SearchListenerAdapter<ISolverService>solverService - a way to safely control the solver.public void solutionFound(int[] model,
                 RandomAccessModel lazyModel)
SearchListenersolutionFound in interface SearchListener<ISolverService>solutionFound in class SearchListenerAdapter<ISolverService>model - the model foundlazyModel - TODOpublic void end(Lbool result)
SearchListenerend in interface SearchListener<ISolverService>end in class SearchListenerAdapter<ISolverService>result - the result of the search.public int getNumberOfSolutionFound()
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.