Package com.artelys.kalis
Class KSmallestDomain
- java.lang.Object
-
- com.artelys.kalis.KVariableSelector
-
- com.artelys.kalis.KSmallestDomain
-
public class KSmallestDomain extends KVariableSelector
This class implements a variable selector that selects the first uninstantiated variable with the smallest domain.
Example :
KBranchingSchemeArray bsa; bsa += KAssignVar(KSmallestDomain(),KMaxToMin();
- Since:
- 2016.1
- See Also:
KVariableSelector
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KVariableSelector
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description KSmallestDomain()
Default constructorprotected
KSmallestDomain(long cPtr, boolean cMemoryOwn)
KSmallestDomain(KSmallestDomain smallestDomainToCopy)
Copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
KVariableSelector
getCopyPtr()
protected static long
getCPtr(KSmallestDomain obj)
-
Methods inherited from class com.artelys.kalis.KVariableSelector
getCPtr, getInstanceCopyPtr, getName, getProblem, getVariableRank, printName, selectNextVariable, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
KSmallestDomain
protected KSmallestDomain(long cPtr, boolean cMemoryOwn)
-
KSmallestDomain
public KSmallestDomain()
Default constructor
-
KSmallestDomain
public KSmallestDomain(KSmallestDomain smallestDomainToCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KSmallestDomain obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classKVariableSelector
-
delete
public void delete()
- Overrides:
delete
in classKVariableSelector
-
getCopyPtr
public KVariableSelector getCopyPtr()
- Overrides:
getCopyPtr
in classKVariableSelector
-
-