Package com.artelys.kalis
Class KNumSmallestDomain
- java.lang.Object
-
- com.artelys.kalis.KNumVariableSelector
-
- com.artelys.kalis.KNumSmallestDomain
-
public class KNumSmallestDomain extends KNumVariableSelector
Smallest domain variable selector
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KNumVariableSelector
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description KNumSmallestDomain()
Default constructorprotected
KNumSmallestDomain(long cPtr, boolean cMemoryOwn)
KNumSmallestDomain(KNumSmallestDomain toCopy)
Copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
KNumVariableSelector
getCopyPtr()
protected static long
getCPtr(KNumSmallestDomain obj)
KNumVar
selectNextVariable(KNumVarArray numVarArray)
virtual interface method to overload for definition of your own variable selection heuristics-
Methods inherited from class com.artelys.kalis.KNumVariableSelector
getCPtr, getInstanceCopyPtr, getName, getProblem, getVariableRank, printName, setMinDomainSize, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
KNumSmallestDomain
protected KNumSmallestDomain(long cPtr, boolean cMemoryOwn)
-
KNumSmallestDomain
public KNumSmallestDomain()
Default constructor
-
KNumSmallestDomain
public KNumSmallestDomain(KNumSmallestDomain toCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KNumSmallestDomain obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classKNumVariableSelector
-
delete
public void delete()
- Overrides:
delete
in classKNumVariableSelector
-
selectNextVariable
public KNumVar selectNextVariable(KNumVarArray numVarArray)
Description copied from class:KNumVariableSelector
virtual interface method to overload for definition of your own variable selection heuristics- Overrides:
selectNextVariable
in classKNumVariableSelector
-
getCopyPtr
public KNumVariableSelector getCopyPtr()
- Overrides:
getCopyPtr
in classKNumVariableSelector
-
-