Gecode::AFC Gecode::FloatAFC Gecode::IntAFC Gecode::SetAFC afc.hpp
Constructors and initialization
GECODE_KERNEL_EXPORT const AFC GECODE_KERNEL_EXPORT const AFC Gecode::AFC::def def Default (empty) AFC information. forceinline Gecode::AFC::AFC (void) AFC void Construct as not yet intialized. The only member functions that can be used on a constructed but not yet initialized activity storage is init and the assignment operator. forceinline Gecode::AFC::AFC (const AFC &a) AFC const AFC & a Copy constructor. AFC & forceinline AFC & Gecode::AFC::operator= (const AFC &a) operator= const AFC & a Assignment operator. class Var Gecode::AFC::AFC (Home home, const VarArgArray< Var > &x, double d) AFC Home home const VarArgArray< Var > & x double d Initialize for variables x and decay factor d. class Var void void Gecode::AFC::init (Home home, const VarArgArray< Var > &x, double d) init Home home const VarArgArray< Var > & x double d Initialize for views x and decay factor d. bool forceinline bool Gecode::AFC::initialized (void) const initialized void Test whether already initialized. void forceinline void Gecode::AFC::set (Space &home, double a=1.0) set Space & home double a 1.0 Set AFC information to a.
Update and delete activity information
void forceinline void Gecode::AFC::update (Space &home, bool share, AFC &a) update Space & home bool share AFC & a Updating during cloning. forceinline Gecode::AFC::~AFC (void) ~AFC void Destructor.
Information access
int forceinline int Gecode::AFC::size (void) const size void Return number of AFC values.
Decay factor for aging
void forceinline void Gecode::AFC::decay (Space &home, double d) decay Space & home double d Set decay factor to d. double forceinline double Gecode::AFC::decay (const Space &home) const decay const Space & home Return decay factor.
int int Gecode::AFC::n n Number of views. class Var forceinline forceinline Gecode::AFC::AFC (Home home, const VarArgArray< Var > &x, double d) AFC Home home const VarArgArray< Var > & x double d class Var forceinline void forceinline void Gecode::AFC::init (Home home, const VarArgArray< Var > &x, double d) init Home home const VarArgArray< Var > & x double d class Char class Traits std::basic_ostream< Char, Traits > & std::basic_ostream< Char, Traits > & operator<< (std::basic_ostream< Char, Traits > &os, const AFC &a) operator<< std::basic_ostream< Char, Traits > & os const AFC & a Print AFC information (prints nothing) Class for AFC (accumulated failure count) management. def Gecode::AFCAFC Gecode::AFCAFC Gecode::AFCAFC Gecode::AFCAFC Gecode::AFCdecay Gecode::AFCdecay Gecode::AFCdef Gecode::AFCinit Gecode::AFCinit Gecode::AFCinitialized Gecode::AFCn Gecode::AFCoperator<< Gecode::AFCoperator= Gecode::AFCset Gecode::AFCsize Gecode::AFCupdate Gecode::AFC~AFC