#include <SatSolverObserver.h>


Definition at line 83 of file SatSolverObserver.h.
Public Member Functions | |
| SolutionsCountStop (AbstractSatSolver *solver, int minCountOfSolutions) | |
| virtual | ~SolutionsCountStop () |
| virtual void | notify () |
| Event notification, usually called by object implementing ISubject interface. | |
Classes | |
| struct | Private |
| SolutionsCountStop | ( | AbstractSatSolver * | solver, | |
| int | minCountOfSolutions | |||
| ) |
| solver | Observed solver. | |
| minCountOfSolutions | Count of solutions to stop solver after. |
Definition at line 36 of file SatSolverObserver.cpp.
References SolutionsCountStop::Private::minCountOfSolutions, and SolutionsCountStop::Private::solver.
| ~SolutionsCountStop | ( | ) | [virtual] |
Definition at line 42 of file SatSolverObserver.cpp.
| void notify | ( | ) | [virtual] |
Event notification, usually called by object implementing ISubject interface.
Implements IObserver.
Definition at line 45 of file SatSolverObserver.cpp.
References AbstractSatSolver::getSolutionsCount(), SolutionsCountStop::Private::minCountOfSolutions, SolutionsCountStop::Private::solver, and AbstractProcessWatched::stop().
1.5.4