Package com.artelys.kalis
Class KSmallestDomDegRatio
- java.lang.Object
-
- com.artelys.kalis.KVariableSelector
-
- com.artelys.kalis.KSmallestDomDegRatio
-
public class KSmallestDomDegRatio extends KVariableSelector
This class implements a variable selector that selects first the variable with the smallest ratio domain size / degree in the constraint graph.
Example :
KBranchingSchemeArray myBranchingSchemeArray; myBranchingSchemeArray += KAssignVar(KSmallestDomDegRatio(),KMaxToMin();- Since:
- 2016.1
- See Also:
KVariableSelector
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KVariableSelector
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description KSmallestDomDegRatio()ConstructorprotectedKSmallestDomDegRatio(long cPtr, boolean cMemoryOwn)KSmallestDomDegRatio(KSmallestDomDegRatio smallestDomDegRatioToCopy)Copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()KVariableSelectorgetCopyPtr()protected static longgetCPtr(KSmallestDomDegRatio obj)-
Methods inherited from class com.artelys.kalis.KVariableSelector
getCPtr, getInstanceCopyPtr, getName, getProblem, getVariableRank, printName, selectNextVariable, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
KSmallestDomDegRatio
protected KSmallestDomDegRatio(long cPtr, boolean cMemoryOwn)
-
KSmallestDomDegRatio
public KSmallestDomDegRatio()
Constructor
-
KSmallestDomDegRatio
public KSmallestDomDegRatio(KSmallestDomDegRatio smallestDomDegRatioToCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KSmallestDomDegRatio obj)
-
finalize
protected void finalize()
- Overrides:
finalizein classKVariableSelector
-
delete
public void delete()
- Overrides:
deletein classKVariableSelector
-
getCopyPtr
public KVariableSelector getCopyPtr()
- Overrides:
getCopyPtrin classKVariableSelector
-
-