Package com.artelys.kalis
Class KGeneralizedArcConsistencyTableConstraint
- java.lang.Object
-
- com.artelys.kalis.KConstraint
-
- com.artelys.kalis.KGeneralizedArcConsistencyTableConstraint
-
public class KGeneralizedArcConsistencyTableConstraint extends KConstraint
This class implements a generic class for propagation of any n-ary constraint by generalized arc consistency \
- Since:
- 2016.1
- See Also:
KConstraint
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KConstraint
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
KGeneralizedArcConsistencyTableConstraint(long cPtr, boolean cMemoryOwn)
KGeneralizedArcConsistencyTableConstraint(KGeneralizedArcConsistencyTableConstraint toCopy)
Copy ConstructorKGeneralizedArcConsistencyTableConstraint(KIntVarArray vars, KTupleArray tuples)
Constructor.
This constructor takes three argumentsKGeneralizedArcConsistencyTableConstraint(KIntVarArray vars, KTupleArray tuples, java.lang.String name)
Constructor.
This constructor takes three arguments
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
protected static long
getCPtr(KGeneralizedArcConsistencyTableConstraint 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
-
KGeneralizedArcConsistencyTableConstraint
protected KGeneralizedArcConsistencyTableConstraint(long cPtr, boolean cMemoryOwn)
-
KGeneralizedArcConsistencyTableConstraint
public KGeneralizedArcConsistencyTableConstraint(KIntVarArray vars, KTupleArray tuples, java.lang.String name)
Constructor.
This constructor takes three arguments- Parameters:
vars
- is the list of variables in the table constrainttuples
- is the list of tuples allowed by the constraintname
- label for pretty printing of the constraint
-
KGeneralizedArcConsistencyTableConstraint
public KGeneralizedArcConsistencyTableConstraint(KIntVarArray vars, KTupleArray tuples)
Constructor.
This constructor takes three arguments- Parameters:
vars
- is the list of variables in the table constrainttuples
- is the list of tuples allowed by the constraint
-
KGeneralizedArcConsistencyTableConstraint
public KGeneralizedArcConsistencyTableConstraint(KGeneralizedArcConsistencyTableConstraint toCopy)
Copy Constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KGeneralizedArcConsistencyTableConstraint obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classKConstraint
-
delete
public void delete()
- Overrides:
delete
in classKConstraint
-
-