Generated on Fri Jan 10 2020 11:38:25 for Gecode by doxygen 1.8.16

Support for randomization and tie-breaking that are independent of a particular variable domain. More...

Modules

 Tie-breaking for variable selection
 
 Branch with a function
 This does not really branch (it just offers a single alternative) but executes a single function during branching. A typical application is to post more constraints after another brancher has finished.
 

Classes

class  Gecode::ValBranch< Var >
 Value branching information. More...
 
class  Gecode::VarBranch< Var >
 Variable branching information. More...
 

Typedefs

typedef std::function< double(const Space &home, double w, double b)> Gecode::BranchTbl
 Tie-break limit function. More...
 

Detailed Description

Support for randomization and tie-breaking that are independent of a particular variable domain.

Typedef Documentation

◆ BranchTbl

typedef std::function<double(const Space& home, double w, double b)> Gecode::BranchTbl

Tie-break limit function.

Here the value w is the worst and is the best merit value found. The function must return the merit value that is considered the limit for breaking ties.

Definition at line 48 of file var.hpp.