Package com.artelys.kalis
Class KProbe
- java.lang.Object
-
- com.artelys.kalis.KBranchingScheme
-
- com.artelys.kalis.KProbe
-
public class KProbe extends KBranchingScheme
Probe branching scheme
- 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 KProbe()
Constructor (Default variable and value selection heuristics are used)
KProbe(int discrepancyLimit)
Constructor (Default variable and value selection heuristics are used)
KProbe(int discrepancyLimit, int breadthLimit)
Constructor (Default variable and value selection heuristics are used)
protected
KProbe(long cPtr, boolean cMemoryOwn)
KProbe(KProbe toCopy)
KProbe(KVariableSelector vs)
Constructor (default value selector is used)
KProbe(KVariableSelector vs, int discrepancyLimit)
Constructor (default value selector is used)
KProbe(KVariableSelector vs, int discrepancyLimit, int breadthLimit)
Constructor (default value selector is used)
KProbe(KVariableSelector varSel, KValueSelector valSel)
Constructor
KProbe(KVariableSelector varSel, KValueSelector valSel, int discrepancyLimit)
Constructor
KProbe(KVariableSelector varSel, KValueSelector valSel, int discrepancyLimit, int breadthLimit)
Constructor
KProbe(KVariableSelector varSel, KValueSelector valSel, KIntVarArray vars)
Constructor
KProbe(KVariableSelector varSel, KValueSelector valSel, KIntVarArray vars, int discrepancyLimit)
Constructor
KProbe(KVariableSelector varSel, KValueSelector valSel, KIntVarArray vars, int discrepancyLimit, int breadthLimit)
Constructor
KProbe(com.artelys.kalis.SWIGTYPE_p_KProbe_I probe)
-
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(KProbe 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
-
KProbe
protected KProbe(long cPtr, boolean cMemoryOwn)
-
KProbe
public KProbe(int discrepancyLimit, int breadthLimit)
Constructor (Default variable and value selection heuristics are used)
- Parameters:
discrepancyLimit
- number of differences from heuristic allowed
-
KProbe
public KProbe(int discrepancyLimit)
Constructor (Default variable and value selection heuristics are used)
- Parameters:
discrepancyLimit
- number of differences from heuristic allowed
-
KProbe
public KProbe()
Constructor (Default variable and value selection heuristics are used)
-
KProbe
public KProbe(KVariableSelector vs, int discrepancyLimit, int breadthLimit)
Constructor (default value selector is used)
- Parameters:
vs
- the variable selectordiscrepancyLimit
- number of differences from heuristic allowed
-
KProbe
public KProbe(KVariableSelector vs, int discrepancyLimit)
Constructor (default value selector is used)
- Parameters:
vs
- the variable selectordiscrepancyLimit
- number of differences from heuristic allowed
-
KProbe
public KProbe(KVariableSelector vs)
Constructor (default value selector is used)
- Parameters:
vs
- the variable selector
-
KProbe
public KProbe(KVariableSelector varSel, KValueSelector valSel, int discrepancyLimit, int breadthLimit)
Constructor
- Parameters:
valSel
- the value selectordiscrepancyLimit
- number of differences from heuristic allowed
-
KProbe
public KProbe(KVariableSelector varSel, KValueSelector valSel, int discrepancyLimit)
Constructor
- Parameters:
valSel
- the value selectordiscrepancyLimit
- number of differences from heuristic allowed
-
KProbe
public KProbe(KVariableSelector varSel, KValueSelector valSel)
Constructor
- Parameters:
valSel
- the value selector
-
KProbe
public KProbe(KVariableSelector varSel, KValueSelector valSel, KIntVarArray vars, int discrepancyLimit, int breadthLimit)
Constructor
- Parameters:
valSel
- the value selectorvars
- the list of variables to apply this branching scheme todiscrepancyLimit
- number of differences from heuristic allowed
-
KProbe
public KProbe(KVariableSelector varSel, KValueSelector valSel, KIntVarArray vars, int discrepancyLimit)
Constructor
- Parameters:
valSel
- the value selectorvars
- the list of variables to apply this branching scheme todiscrepancyLimit
- number of differences from heuristic allowed
-
KProbe
public KProbe(KVariableSelector varSel, KValueSelector valSel, KIntVarArray vars)
Constructor
- Parameters:
valSel
- the value selectorvars
- the list of variables to apply this branching scheme to
-
KProbe
public KProbe(com.artelys.kalis.SWIGTYPE_p_KProbe_I probe)
-
KProbe
public KProbe(KProbe toCopy)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KProbe 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
-
-