#include <SatSolverObserver.h>


Definition at line 101 of file SatSolverObserver.h.
Public Member Functions | |
| FitnessWatch (AbstractSatSolver *solver, std::ostream &streamTo) | |
| virtual | ~FitnessWatch () |
| virtual void | notify () |
| Event notification, usually called by object implementing ISubject interface. | |
| void | reset () |
Classes | |
| struct | Private |
| FitnessWatch | ( | AbstractSatSolver * | solver, | |
| std::ostream & | streamTo | |||
| ) |
| solver | Observed solver. | |
| streamTo | Standard output stream to write to. |
Definition at line 83 of file SatSolverObserver.cpp.
References FitnessWatch::Private::maxFitness, and FitnessWatch::Private::solver.
| ~FitnessWatch | ( | ) | [virtual] |
Definition at line 89 of file SatSolverObserver.cpp.
| void notify | ( | ) | [virtual] |
Event notification, usually called by object implementing ISubject interface.
Implements IObserver.
Definition at line 92 of file SatSolverObserver.cpp.
References AbstractSatSolver::avgFitness(), GaSatSolver::getStatistics(), AbstractProcessWatched::getTimeElapsed(), FitnessWatch::Private::maxFitness, AbstractSatSolver::maxFitness(), AbstractSatSolver::minFitness(), FitnessWatch::Private::solver, and FitnessWatch::Private::stream.
| void reset | ( | ) |
Definition at line 125 of file SatSolverObserver.cpp.
References FitnessWatch::Private::maxFitness.
Referenced by main().
1.5.4