KConstraintArray¶
-
class KConstraintArray : public ArtelysList<KConstraint>¶
This class implements an array of KConstraint
Example :
KIntVarArray TAB(...) KIntVar X(...) KIntVar Y(...) KIntVar Z(...) KConstraintArray constraintArray; constraintArray += KAllDifferent("alldiff(TAB)",TAB); constraintArray += X == Y + 2: constraintArray += (Y < 6) || (Z + 4 == X)s
- See
- Since
2016.1