Recording AFC information for Boolean variables.
More...
#include <int.hh>
|
| BoolAFC (void) |
| Construct as not yet initialized. More...
|
|
| BoolAFC (const BoolAFC &a) |
| Copy constructor. More...
|
|
BoolAFC & | operator= (const BoolAFC &a) |
| Assignment operator. More...
|
|
| BoolAFC (Home home, const BoolVarArgs &x, double d=1.0) |
| Initialize for Boolean variables x with decay factor d. More...
|
|
void | init (Home home, const BoolVarArgs &x, double d=1.0) |
| Initialize for Boolean variables x with decay factor d. More...
|
|
| AFC (void) |
| Construct as not yet intialized. More...
|
|
| AFC (const AFC &a) |
| Copy constructor. More...
|
|
AFC & | operator= (const AFC &a) |
| Assignment operator. More...
|
|
template<class Var > |
| AFC (Home home, const VarArgArray< Var > &x, double d) |
| Initialize for variables x and decay factor d. More...
|
|
template<class Var > |
void | init (Home home, const VarArgArray< Var > &x, double d) |
| Initialize for views x and decay factor d. More...
|
|
| operator bool (void) const |
| Test whether already initialized. More...
|
|
void | update (Space &home, bool share, AFC &a) |
| Updating during cloning. More...
|
|
| ~AFC (void) |
| Destructor. More...
|
|
int | size (void) const |
| Return number of AFC values. More...
|
|
void | decay (Space &home, double d) |
| Set decay factor to d. More...
|
|
double | decay (const Space &home) const |
| Return decay factor. More...
|
|
|
static const AFC | def |
| Default (empty) AFC information. More...
|
|
int | n |
| Number of views. More...
|
|
template<class Char , class Traits > |
std::basic_ostream< Char, Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const AFC &a) |
| Print AFC information (prints nothing) More...
|
|
Recording AFC information for Boolean variables.
Definition at line 3974 of file int.hh.
◆ BoolAFC() [1/3]
Gecode::BoolAFC::BoolAFC |
( |
void |
| ) |
|
|
inline |
Construct as not yet initialized.
The only member functions that can be used on a constructed but not yet initialized AFC storage is init or the assignment operator.
Definition at line 65 of file afc.hpp.
◆ BoolAFC() [2/3]
Gecode::BoolAFC::BoolAFC |
( |
const BoolAFC & |
a | ) |
|
|
inline |
Copy constructor.
Definition at line 68 of file afc.hpp.
◆ BoolAFC() [3/3]
Gecode::BoolAFC::BoolAFC |
( |
Home |
home, |
|
|
const BoolVarArgs & |
x, |
|
|
double |
d = 1.0 |
|
) |
| |
|
inline |
Initialize for Boolean variables x with decay factor d.
Definition at line 77 of file afc.hpp.
◆ operator=()
Assignment operator.
Definition at line 72 of file afc.hpp.
◆ init()
void Gecode::BoolAFC::init |
( |
Home |
home, |
|
|
const BoolVarArgs & |
x, |
|
|
double |
d = 1.0 |
|
) |
| |
|
inline |
Initialize for Boolean variables x with decay factor d.
This member function can only be used once and only if the AFC storage has been constructed with the default constructor.
Definition at line 82 of file afc.hpp.
The documentation for this class was generated from the following files: