KEqualXyc¶
-
class KEqualXyc : public KConstraint¶
This class creates a X == Y + C constraint.
Example :
KIntVar X(...); KIntVar Y(...); // ... problem.post(X == Y + 5); // or problem.post(KEqualXyc(X,Y,5));
- See
- Since
2016.1
This class creates a X == Y + C constraint.
Example :
KIntVar X(...);
KIntVar Y(...);
// ...
problem.post(X == Y + 5);
// or
problem.post(KEqualXyc(X,Y,5));
2016.1