Selects the first free literal w.r.t to the initial variable order. More...
#include <solver.h>
Public Member Functions | |
void | updateVar (const Solver &, Var, uint32) |
Private Member Functions | |
Literal | doSelect (Solver &s) |
Implements the actual selection process. |
Selects the first free literal w.r.t to the initial variable order.
Literal Clasp::SelectFirst::doSelect | ( | Solver & | ) | [private, virtual] |
Implements the actual selection process.
Implements Clasp::DecisionHeuristic.
Definition at line 33 of file solver.cpp.
void Clasp::SelectFirst::updateVar | ( | const Solver & | , |
Var | , | ||
uint32 | |||
) | [inline, virtual] |
Called if the state of one or more variables changed. A state change is one of:
s | Solver in which the state change occurred. |
v | The first variable affected by the change. |
n | The range of variables affected, i.e. [v, v+n). |
Implements Clasp::DecisionHeuristic.