Generated on Thu Jul 25 2019 00:00:00 for Gecode by doxygen 1.8.15

Recording AFC information for Boolean variables. More...

#include <int.hh>

Public Member Functions

 BoolAFC (void)
 Construct as not yet initialized. More...
 
 BoolAFC (const BoolAFC &a)
 Copy constructor. More...
 
BoolAFCoperator= (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...
 
- Public Member Functions inherited from Gecode::AFC
 AFC (void)
 Construct as not yet intialized. More...
 
 AFC (const AFC &a)
 Copy constructor. More...
 
AFCoperator= (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...
 

Additional Inherited Members

- Static Public Attributes inherited from Gecode::AFC
static const AFC def
 Default (empty) AFC information. More...
 
- Protected Attributes inherited from Gecode::AFC
int n
 Number of views. More...
 

Detailed Description

Recording AFC information for Boolean variables.

Definition at line 3974 of file int.hh.

Constructor & Destructor Documentation

◆ 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.

Member Function Documentation

◆ operator=()

BoolAFC & Gecode::BoolAFC::operator= ( const BoolAFC a)
inline

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: