Package com.artelys.kalis
Class KWidestDomain
- java.lang.Object
-
- com.artelys.kalis.KNumVariableSelector
-
- com.artelys.kalis.KWidestDomain
-
public class KWidestDomain extends KNumVariableSelector
This class implements a variable selector that selects the first
uninstantiated variable with the widest domain.
Example :
KBranchingSchemeArray bsa; bsa += KSplitNumDomain(KWidestDomain(), KMaxToMin();
- Since:
- 2016.1
- See Also:
KNumVariableSelector
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KNumVariableSelector
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description KWidestDomain()
Default constructorprotected
KWidestDomain(long cPtr, boolean cMemoryOwn)
KWidestDomain(KWidestDomain widestDomainToCopy)
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(KWidestDomain 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
-
KWidestDomain
protected KWidestDomain(long cPtr, boolean cMemoryOwn)
-
KWidestDomain
public KWidestDomain()
Default constructor
-
KWidestDomain
public KWidestDomain(KWidestDomain widestDomainToCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KWidestDomain 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
-
-