CSPOM is the central class of the Constraint Satisfaction Problem Object
Model.
CSPOM is the central class of the Constraint Satisfaction Problem Object
Model. You can create a problem from scratch by instantiating this class and
then using the ctr and var methods. The CSPOM.load() method can be used in
order to create a CSPOM object from an XCSP file.
The CSPOM class adheres to the following definition :
A CSP is defined as a pair (X, C), X being a finite set of variables, and C a
finite set of constraints.
A domain is associated to each variable x in X. Each constraint involves a
finite set of variables (its scope) and defines a set of allowed and
forbidden instantiations of these variables.
CSPOM is the central class of the Constraint Satisfaction Problem Object Model. You can create a problem from scratch by instantiating this class and then using the ctr and var methods. The CSPOM.load() method can be used in order to create a CSPOM object from an XCSP file.
The CSPOM class adheres to the following definition :
A CSP is defined as a pair (X, C), X being a finite set of variables, and C a finite set of constraints.
A domain is associated to each variable x in X. Each constraint involves a finite set of variables (its scope) and defines a set of allowed and forbidden instantiations of these variables.
CSPOMVariable
CSPOMConstraint