KAssignVar

class KAssignVar : public KBranchingScheme

AssignVar Branching scheme

../../_images/AssignVar.png

Example:

KBranchingSchemeArray myBranchingSchemeArray;
myBranchingSchemeArray += KAssignVar(KSmallestDomain(), KMaxToMin());

See

KBranchingScheme KAssignVar KAssignAndForbid KSettleDisjunction KProbe KSplitDomain

Since

2016.1

Public Functions

KAssignVar(const KVariableSelector &vs)

Constructor

Parameters

varSel – the variable selector

KAssignVar(const KVariableSelector &varSel, const KValueSelector &valSel)

Constructor

Parameters
  • varSel – the variable selector

  • valSel – the value selector

KAssignVar(const KVariableSelector &varSel, const KValueSelector &valSel, const KIntVarArray &intVarArray)

Constructor

Parameters
  • varSel – the variable selector

  • valSel – the value selector

  • intVarArray – the array of variable to assign value