Package com.artelys.kalis
Class KAssignVar
- java.lang.Object
-
- com.artelys.kalis.KBranchingScheme
-
- com.artelys.kalis.KAssignVar
-
public class KAssignVar extends KBranchingScheme
AssignVar Branching scheme
Example:
KBranchingSchemeArray myBranchingSchemeArray; myBranchingSchemeArray += KAssignVar(KSmallestDomain(), KMaxToMin());
- Since:
- 2016.1
- See Also:
KAssignVar KAssignAndForbid KSettleDisjunction KProbe KSplitDomain
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KBranchingScheme
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description KAssignVar()
protected
KAssignVar(long cPtr, boolean cMemoryOwn)
KAssignVar(KAssignVar assignVarToCopy)
KAssignVar(KVariableSelector vs)
ConstructorKAssignVar(KVariableSelector varSel, KValueSelector valSel)
ConstructorKAssignVar(KVariableSelector varSel, KValueSelector valSel, KIntVarArray intVarArray)
ConstructorKAssignVar(com.artelys.kalis.SWIGTYPE_p_KAssignVar_I assignVar)
-
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(KAssignVar 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
-
KAssignVar
protected KAssignVar(long cPtr, boolean cMemoryOwn)
-
KAssignVar
public KAssignVar()
-
KAssignVar
public KAssignVar(KVariableSelector vs)
Constructor
-
KAssignVar
public KAssignVar(KVariableSelector varSel, KValueSelector valSel)
Constructor- Parameters:
varSel
- the variable selectorvalSel
- the value selector
-
KAssignVar
public KAssignVar(KVariableSelector varSel, KValueSelector valSel, KIntVarArray intVarArray)
Constructor- Parameters:
varSel
- the variable selectorvalSel
- the value selectorintVarArray
- the array of variable to assign value
-
KAssignVar
public KAssignVar(com.artelys.kalis.SWIGTYPE_p_KAssignVar_I assignVar)
-
KAssignVar
public KAssignVar(KAssignVar assignVarToCopy)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KAssignVar 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
-
-