Package com.artelys.kalis
Class KConstraintArray
- java.lang.Object
-
- com.artelys.kalis.constraintlist
-
- com.artelys.kalis.KConstraintArray
-
public class KConstraintArray extends com.artelys.kalis.constraintlist
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
- Since:
- 2016.1
- See Also:
KConstraint
-
-
Constructor Summary
Constructors Modifier Constructor Description KConstraintArray()
Default ConstructorKConstraintArray(int nbElements)
Constructorprotected
KConstraintArray(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
protected static long
getCPtr(KConstraintArray obj)
-
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KConstraintArray obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classcom.artelys.kalis.constraintlist
-
delete
public void delete()
- Overrides:
delete
in classcom.artelys.kalis.constraintlist
-
-