Package com.artelys.kalis
Class KSplitNumDomain
- java.lang.Object
-
- com.artelys.kalis.KBranchingScheme
-
- com.artelys.kalis.KSplitNumDomain
-
public class KSplitNumDomain extends KBranchingScheme
SplitDomain Branching scheme
Example :
KBranchingSchemeArray myBranchingSchemeArray; myBranchingSchemeArray += KSplitNumDomain(KSmallestDomain(),KMaxToMin());
- Since:
- 2016.1
- See Also:
KAssignVar KAssignAndForbid KSettleDisjunction KProbe KSplitNumDomain
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KBranchingScheme
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description KSplitNumDomain()
ConstructorKSplitNumDomain(boolean lowerPartFirst)
ConstructorKSplitNumDomain(boolean lowerPartFirst, int minDomainSize)
Constructorprotected
KSplitNumDomain(long cPtr, boolean cMemoryOwn)
KSplitNumDomain(KNumVariableSelector varSel)
ConstructorKSplitNumDomain(KNumVariableSelector varSel, boolean lowerPartFirst)
ConstructorKSplitNumDomain(KNumVariableSelector varSel, boolean lowerPartFirst, int minDomainSize)
ConstructorKSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel)
ConstructorKSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel, boolean lowerPartFirst)
ConstructorKSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel, boolean lowerPartFirst, int minDomainSize)
ConstructorKSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel, KNumVarArray intVarArray)
ConstructorKSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel, KNumVarArray intVarArray, boolean lowerPartFirst)
ConstructorKSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel, KNumVarArray intVarArray, boolean lowerPartFirst, int minDomainSize)
ConstructorKSplitNumDomain(KSplitNumDomain splitDomainToCopy)
KSplitNumDomain(com.artelys.kalis.SWIGTYPE_p_KSplitNumDomain_I splitNumDomain)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
KBranchingScheme
getCopyPtr()
protected static long
getCPtr(KSplitNumDomain obj)
KBranchingScheme
getInstanceCopyPtr(KProblem problem)
-
Methods inherited from class com.artelys.kalis.KBranchingScheme
_finishedBranching, _freeAllocatedObjectsForBranching, _getNextBranch, _goDownBranch, _goUpBranch, _selectNextBranchingObject, getCPtr, getGoDownDescription, getName, getProblem, printName, setSolver_I_ptr, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
KSplitNumDomain
protected KSplitNumDomain(long cPtr, boolean cMemoryOwn)
-
KSplitNumDomain
public KSplitNumDomain(boolean lowerPartFirst, int minDomainSize)
Constructor- Parameters:
lowerPartFirst
- explore the lower part of the domain first (default value = true)minDomainSize
- under a size of 'minDomainSize' for the domain of the variable , no split occur
-
KSplitNumDomain
public KSplitNumDomain(boolean lowerPartFirst)
Constructor- Parameters:
lowerPartFirst
- explore the lower part of the domain first (default value = true)
-
KSplitNumDomain
public KSplitNumDomain()
Constructor
-
KSplitNumDomain
public KSplitNumDomain(KNumVariableSelector varSel, boolean lowerPartFirst, int minDomainSize)
Constructor- Parameters:
varSel
- the variable selectorlowerPartFirst
- explore the lower part of the domain first (default value = true)minDomainSize
- under a size of 'minDomainSize' for the domain of the variable , no split occur
-
KSplitNumDomain
public KSplitNumDomain(KNumVariableSelector varSel, boolean lowerPartFirst)
Constructor- Parameters:
varSel
- the variable selectorlowerPartFirst
- explore the lower part of the domain first (default value = true)
-
KSplitNumDomain
public KSplitNumDomain(KNumVariableSelector varSel)
Constructor- Parameters:
varSel
- the variable selector
-
KSplitNumDomain
public KSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel, boolean lowerPartFirst, int minDomainSize)
Constructor- Parameters:
varSel
- the variable selectorvalSel
- the value selectorlowerPartFirst
- explore the lower part of the domain first (default value = true)minDomainSize
- under a size of 'minDomainSize' for the domain of the variable , no split occur
-
KSplitNumDomain
public KSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel, boolean lowerPartFirst)
Constructor- Parameters:
varSel
- the variable selectorvalSel
- the value selectorlowerPartFirst
- explore the lower part of the domain first (default value = true)
-
KSplitNumDomain
public KSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel)
Constructor- Parameters:
varSel
- the variable selectorvalSel
- the value selector
-
KSplitNumDomain
public KSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel, KNumVarArray intVarArray, boolean lowerPartFirst, int minDomainSize)
Constructor- Parameters:
varSel
- the variable selectorvalSel
- the value selectorintVarArray
- the variable array to branch onlowerPartFirst
- explore the lower part of the domain first (default value = true)minDomainSize
- under a size of 'minDomainSize' for the domain of the variable , no split occur
-
KSplitNumDomain
public KSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel, KNumVarArray intVarArray, boolean lowerPartFirst)
Constructor- Parameters:
varSel
- the variable selectorvalSel
- the value selectorintVarArray
- the variable array to branch onlowerPartFirst
- explore the lower part of the domain first (default value = true)
-
KSplitNumDomain
public KSplitNumDomain(KNumVariableSelector varSel, KNumValueSelector valSel, KNumVarArray intVarArray)
Constructor- Parameters:
varSel
- the variable selectorvalSel
- the value selectorintVarArray
- the variable array to branch on
-
KSplitNumDomain
public KSplitNumDomain(com.artelys.kalis.SWIGTYPE_p_KSplitNumDomain_I splitNumDomain)
-
KSplitNumDomain
public KSplitNumDomain(KSplitNumDomain splitDomainToCopy)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KSplitNumDomain obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classKBranchingScheme
-
delete
public void delete()
- Overrides:
delete
in classKBranchingScheme
-
getCopyPtr
public KBranchingScheme getCopyPtr()
- Overrides:
getCopyPtr
in classKBranchingScheme
-
getInstanceCopyPtr
public KBranchingScheme getInstanceCopyPtr(KProblem problem)
- Overrides:
getInstanceCopyPtr
in classKBranchingScheme
-
-