#include <csproblem.h>
Inheritance diagram for BinaryCSProblem:
Public Member Functions | |
BinaryCSProblem (int nbvar, int nbconst) | |
BinaryCSProblem (int nbvar, int nbconst, int lower) | |
Public Attributes | |
int ** | constraints |
|
for a couple (i,j) of variables, (i<j) , constraints[i][j] returns the constraint number + 1 if the variables are connected, 0 si the variables are not connected. It is assumed that at most one constraint exists between two variables (if not use WeightExtensionBinaryCSP class) |