SmallestDomainFirst Class Reference

#include <SDFVariableHeuristic.hh>

Inherits VariableHeuristic.

Inheritance diagram for SmallestDomainFirst:

Inheritance graph
[legend]
Collaboration diagram for SmallestDomainFirst:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

A score attribuer for performing smallest domain first search.

Definition at line 29 of file SDFVariableHeuristic.hh.


Member Function Documentation

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.

Parameters:
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.


The documentation for this class was generated from the following files:
Generated on Thu Feb 7 14:34:27 2008 for qecode by  doxygen 1.5.2