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 FloatVarArgs &x, double d=1.0, bool p=true, bool f=true, FloatBranchMerit bm=nullptr)
Initialize for float variables x with decay factor d.
Definition action.cpp:45
std::function< double(const Space &home, FloatVar x, int i)> FloatBranchMerit
Branch merit function type for float variables.
Definition float.hh:1457
Gecode toplevel namespace
