Public Types | |
typedef ModelEnumerator::QPtr | QPtr |
typedef ClauseCreator::Result | Result |
typedef SolutionQueue::SL | SL |
typedef SolutionQueue::ThreadId | ThreadId |
Public Member Functions | |
Constraint * | cloneAttach (Solver &s) |
Returns a clone of this and adds necessary watches to the given solver. | |
void | doCommitModel (Enumerator &ctx, Solver &s) |
bool | doUpdate (Solver &s) |
RecordFinder (Solver &s, MinimizeConstraint *min, VarVec *project, SolutionQueue *q) | |
Public Attributes | |
ThreadId | id |
QPtr | queue |
LitVec | solution |
Definition at line 64 of file model_enumerators.cpp.
Definition at line 66 of file model_enumerators.cpp.
Definition at line 69 of file model_enumerators.cpp.
Definition at line 68 of file model_enumerators.cpp.
Definition at line 67 of file model_enumerators.cpp.
Clasp::ModelEnumerator::RecordFinder::RecordFinder | ( | Solver & | s, |
MinimizeConstraint * | min, | ||
VarVec * | project, | ||
SolutionQueue * | q | ||
) | [inline] |
Definition at line 70 of file model_enumerators.cpp.
Constraint* Clasp::ModelEnumerator::RecordFinder::cloneAttach | ( | Solver & | other | ) | [inline, virtual] |
Returns a clone of this and adds necessary watches to the given solver.
The function shall create and return a copy of this constraint to be used in the given solver. Furthermore, it shall add necessary watches to the given solver.
Implements Clasp::Constraint.
Definition at line 73 of file model_enumerators.cpp.
void Clasp::ModelEnumerator::RecordFinder::doCommitModel | ( | Enumerator & | ctx, |
Solver & | s | ||
) | [virtual] |
Reimplemented from Clasp::EnumerationConstraint.
Definition at line 100 of file model_enumerators.cpp.
bool Clasp::ModelEnumerator::RecordFinder::doUpdate | ( | Solver & | s | ) | [virtual] |
Implements Clasp::EnumerationConstraint.
Definition at line 81 of file model_enumerators.cpp.
Definition at line 77 of file model_enumerators.cpp.
Definition at line 76 of file model_enumerators.cpp.
Definition at line 78 of file model_enumerators.cpp.