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 constructorprotectedKNumSmallestDomain(long cPtr, boolean cMemoryOwn)KNumSmallestDomain(KNumSmallestDomain toCopy)Copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()KNumVariableSelectorgetCopyPtr()protected static longgetCPtr(KNumSmallestDomain obj)KNumVarselectNextVariable(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:
finalizein classKNumVariableSelector
-
delete
public void delete()
- Overrides:
deletein classKNumVariableSelector
-
selectNextVariable
public KNumVar selectNextVariable(KNumVarArray numVarArray)
Description copied from class:KNumVariableSelectorvirtual interface method to overload for definition of your own variable selection heuristics- Overrides:
selectNextVariablein classKNumVariableSelector
-
getCopyPtr
public KNumVariableSelector getCopyPtr()
- Overrides:
getCopyPtrin classKNumVariableSelector
-
-