#include <SDFVariableHeuristic.hh>
Inherits VariableHeuristic.
Inheritance diagram for SmallestDomainFirst:
Public Member Functions | |
virtual QECODE_EXPORT int | score (QSpace *qs, int var) |
Returns the score of a variable. Returns the score of the variable var in the quantified space qs. |
Definition at line 29 of file SDFVariableHeuristic.hh.
int SmallestDomainFirst::score | ( | QSpace * | qs, | |
int | var | |||
) | [virtual] |
Returns the score of a variable. Returns the score of the variable var in the quantified space qs.
var | The variable to obtain the score | |
qs | A pointer to the quantified space in which the variable is. |
Implements VariableHeuristic.
Definition at line 25 of file SDFVariableHeuristic.cc.
References QSpace::type_of_v, QSpace::v, VTYPE_BOOL, and VTYPE_INT.