action.cpp
Go to the documentation of this file.
void init(Home home, ViewArray< View > &x, double d, bool p, bool f, typename BranchTraits< typename View::VarType >::Merit bm)
Initialize for views x and decay factor d and action as defined by bm.
Definition action.hpp:364
void init(Home home, const BoolVarArgs &x, double d=1.0, bool p=true, bool f=true, BoolBranchMerit bm=nullptr)
Initialize for Boolean variables x with decay factor d.
Definition action.cpp:59
void init(Home home, const IntVarArgs &x, double d=1.0, bool p=true, bool f=true, IntBranchMerit bm=nullptr)
Initialize for integer variables x with decay factor d.
Definition action.cpp:45
std::function< double(const Space &home, IntVar x, int i)> IntBranchMerit
Branch merit function type for integer variables.
Definition int.hh:5301
std::function< double(const Space &home, BoolVar x, int i)> BoolBranchMerit
Branch merit function type for Boolean variables.
Definition int.hh:5312
Gecode toplevel namespace
