TaskModelIntBranch Branching Gecode::IntAFC Gecode::IntActivity Gecode::IntVarBranch Gecode::IntValBranch Gecode::IntAssign Gecode::SymmetryHandle Variable selection for integer and Boolean variables Value selection for integer and Boolean variables Value selection for assigning integer and Boolean variables Symmetry declarations bool(* typedef bool(* Gecode::IntBranchFilter)(const Space &home, IntVar x, int i) )(const Space &home, IntVar x, int i) IntBranchFilter Branch filter function type for integer variables. The variable x is considered for selection and i refers to the variable's position in the original array passed to the brancher. bool(* typedef bool(* Gecode::BoolBranchFilter)(const Space &home, BoolVar x, int i) )(const Space &home, BoolVar x, int i) BoolBranchFilter Branch filter function type for Boolean variables. The variable x is considered for selection and i refers to the variable's position in the original array passed to the brancher. double(* typedef double(* Gecode::IntBranchMerit)(const Space &home, IntVar x, int i) )(const Space &home, IntVar x, int i) IntBranchMerit Branch merit function type for integer variables. The function must return a merit value for the variable x. The integer i refers to the variable's position in the original array passed to the brancher. double(* typedef double(* Gecode::BoolBranchMerit)(const Space &home, BoolVar x, int i) )(const Space &home, BoolVar x, int i) BoolBranchMerit Branch merit function type for Boolean variables. The function must return a merit value for the variable x. The integer i refers to the variable's position in the original array passed to the brancher. int(* typedef int(* Gecode::IntBranchVal)(const Space &home, IntVar x, int i) )(const Space &home, IntVar x, int i) IntBranchVal Branch value function type for integer variables. Returns a value for the variable x that is to be used in the corresponding branch commit function. The integer i refers to the variable's position in the original array passed to the brancher. int(* typedef int(* Gecode::BoolBranchVal)(const Space &home, BoolVar x, int i) )(const Space &home, BoolVar x, int i) BoolBranchVal Branch value function type for Boolean variables. Returns a value for the variable x that is to be used in the corresponding branch commit function. The integer i refers to the variable's position in the original array passed to the brancher. void(* typedef void(* Gecode::IntBranchCommit)(Space &home, unsigned int a, IntVar x, int i, int n) )(Space &home, unsigned int a, IntVar x, int i, int n) IntBranchCommit Branch commit function type for integer variables. The function must post a constraint on the variable x which corresponds to the alternative a. The integer i refers to the variable's position in the original array passed to the brancher. The value n is the value computed by the corresponding branch value function. void(* typedef void(* Gecode::BoolBranchCommit)(Space &home, unsigned int a, BoolVar x, int i, int n) )(Space &home, unsigned int a, BoolVar x, int i, int n) BoolBranchCommit Branch commit function type for Boolean variables. The function must post a constraint on the variable x which corresponds to the alternative a. The integer i refers to the variable's position in the original array passed to the brancher. The value n is the value computed by the corresponding branch value function. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::branch (Home home, const IntVarArgs &x, IntVarBranch vars, IntValBranch vals, IntBranchFilter bf=NULL, IntVarValPrint vvp=NULL) branch Home home const IntVarArgs & x IntVarBranch vars IntValBranch vals IntBranchFilter bf NULL IntVarValPrint vvp NULL Branch over x with variable selection vars and value selection vals. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::branch (Home home, const IntVarArgs &x, TieBreak< IntVarBranch > vars, IntValBranch vals, IntBranchFilter bf=NULL, IntVarValPrint vvp=NULL) branch Home home const IntVarArgs & x TieBreak< IntVarBranch > vars IntValBranch vals IntBranchFilter bf NULL IntVarValPrint vvp NULL Branch over x with tie-breaking variable selection vars and value selection vals. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::branch (Home home, IntVar x, IntValBranch vals, IntVarValPrint vvp=NULL) branch Home home IntVar x IntValBranch vals IntVarValPrint vvp NULL Branch over x with value selection vals. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::branch (Home home, const BoolVarArgs &x, IntVarBranch vars, IntValBranch vals, BoolBranchFilter bf=NULL, BoolVarValPrint vvp=NULL) branch Home home const BoolVarArgs & x IntVarBranch vars IntValBranch vals BoolBranchFilter bf NULL BoolVarValPrint vvp NULL Branch over x with variable selection vars and value selection vals. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::branch (Home home, const BoolVarArgs &x, TieBreak< IntVarBranch > vars, IntValBranch vals, BoolBranchFilter bf=NULL, BoolVarValPrint vvp=NULL) branch Home home const BoolVarArgs & x TieBreak< IntVarBranch > vars IntValBranch vals BoolBranchFilter bf NULL BoolVarValPrint vvp NULL Branch over x with tie-breaking variable selection vars and value selection vals. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::branch (Home home, BoolVar x, IntValBranch vals, BoolVarValPrint vvp=NULL) branch Home home BoolVar x IntValBranch vals BoolVarValPrint vvp NULL Branch over x with value selection vals. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::assign (Home home, const IntVarArgs &x, IntAssign vals, IntBranchFilter ibf=NULL, IntVarValPrint vvp=NULL) assign Home home const IntVarArgs & x IntAssign vals IntBranchFilter ibf NULL IntVarValPrint vvp NULL Assign all x with value selection vals. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::assign (Home home, IntVar x, IntAssign vals, IntVarValPrint vvp=NULL) assign Home home IntVar x IntAssign vals IntVarValPrint vvp NULL Assign x with value selection vals. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::assign (Home home, const BoolVarArgs &x, IntAssign vals, BoolBranchFilter bbf=NULL, BoolVarValPrint vvp=NULL) assign Home home const BoolVarArgs & x IntAssign vals BoolBranchFilter bbf NULL BoolVarValPrint vvp NULL Assign all x with value selection vals. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::assign (Home home, BoolVar x, IntAssign vals, BoolVarValPrint vvp=NULL) assign Home home BoolVar x IntAssign vals BoolVarValPrint vvp NULL Assign x with value selection vals. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::branch (Home home, const IntVarArgs &x, IntVarBranch vars, IntValBranch vals, const Symmetries &syms, IntBranchFilter bf=NULL, IntVarValPrint vvp=NULL) branch Home home const IntVarArgs & x IntVarBranch vars IntValBranch vals const Symmetries & syms IntBranchFilter bf NULL IntVarValPrint vvp NULL Branch over x with variable selection vars and value selection vals with symmetry breaking. Throws LDSBBadValueSelection exception if vals is any of SEL_SPLIT_MIN, SEL_SPLIT_MAX, SEL_RANGE_MIN, SEL_RANGE_MAX, SEL_VALUES_MIN, and SEL_VALUES_MAX, or if vals is SEL_VAL_COMMIT with a custom commit function. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::branch (Home home, const IntVarArgs &x, TieBreak< IntVarBranch > vars, IntValBranch vals, const Symmetries &syms, IntBranchFilter bf=NULL, IntVarValPrint vvp=NULL) branch Home home const IntVarArgs & x TieBreak< IntVarBranch > vars IntValBranch vals const Symmetries & syms IntBranchFilter bf NULL IntVarValPrint vvp NULL Branch over x with tie-breaking variable selection vars and value selection vals with symmetry breaking. Throws LDSBBadValueSelection exception if vals is any of SEL_SPLIT_MIN, SEL_SPLIT_MAX, SEL_RANGE_MIN, SEL_RANGE_MAX, SEL_VALUES_MIN, and SEL_VALUES_MAX, or if vals is SEL_VAL_COMMIT with a custom commit function. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::branch (Home home, const BoolVarArgs &x, IntVarBranch vars, IntValBranch vals, const Symmetries &syms, BoolBranchFilter bf=NULL, BoolVarValPrint vvp=NULL) branch Home home const BoolVarArgs & x IntVarBranch vars IntValBranch vals const Symmetries & syms BoolBranchFilter bf NULL BoolVarValPrint vvp NULL Branch over x with variable selection vars and value selection vals with symmetry breaking. Throws LDSBBadValueSelection exception if vals is any of SEL_SPLIT_MIN, SEL_SPLIT_MAX, SEL_RANGE_MIN, SEL_RANGE_MAX, SEL_VALUES_MIN, and SEL_VALUES_MAX, or if vals is SEL_VAL_COMMIT with a custom commit function. GECODE_INT_EXPORT BrancherHandle GECODE_INT_EXPORT BrancherHandle Gecode::branch (Home home, const BoolVarArgs &x, TieBreak< IntVarBranch > vars, IntValBranch vals, const Symmetries &syms, BoolBranchFilter bf=NULL, BoolVarValPrint vvp=NULL) branch Home home const BoolVarArgs & x TieBreak< IntVarBranch > vars IntValBranch vals const Symmetries & syms BoolBranchFilter bf NULL BoolVarValPrint vvp NULL Branch over x with tie-breaking variable selection vars and value selection vals with symmetry breaking. Throws LDSBBadValueSelection exception if vals is any of SEL_SPLIT_MIN, SEL_SPLIT_MAX, SEL_RANGE_MIN, SEL_RANGE_MAX, SEL_VALUES_MIN, and SEL_VALUES_MAX, or if vals is SEL_VAL_COMMIT with a custom commit function.