Package com.artelys.kalis
Class KNumEqualXYZ
- java.lang.Object
-
- com.artelys.kalis.KConstraint
-
- com.artelys.kalis.KNumEqualXYZ
-
public class KNumEqualXYZ extends KConstraint
This class creates a `X == Y + Z` constraint
Example :
KNumVar X(...); KNumVar Y(...); KNumVar Z(...); // ... problem.post(KNumEqualXYZ(X, Y, Z));
- Since:
- 2016.1
- See Also:
KConstraint
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KConstraint
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KNumEqualXYZ(long cPtr, boolean cMemoryOwn)
KNumEqualXYZ(KNumEqualXYZ toCopy)
KNumEqualXYZ(KNumVar v1, KNumVar v2, KNumVar v3)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
protected static long
getCPtr(KNumEqualXYZ obj)
-
Methods inherited from class com.artelys.kalis.KConstraint
askIfEntailed, getArity, getCopyPtr, getCPtr, getInstance, getInstanceCopyPtr, getLinearRelaxation, getLinearRelaxation, getName, getPriority, getProblem, getTag, getTypeInfo, isGetLinearRelaxationImplemented, print, print, setName, setPriority, setTag
-
-
-
-
Constructor Detail
-
KNumEqualXYZ
protected KNumEqualXYZ(long cPtr, boolean cMemoryOwn)
-
KNumEqualXYZ
public KNumEqualXYZ(KNumEqualXYZ toCopy)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KNumEqualXYZ obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classKConstraint
-
delete
public void delete()
- Overrides:
delete
in classKConstraint
-
-