Generated on Sun Feb 17 15:24:58 2019 for Gecode by doxygen 1.6.3

Gecode::BoolAFC Class Reference
[Branching]

Recording AFC information for Boolean variables. More...

#include <int.hh>

List of all members.

Public Member Functions

 BoolAFC (void)
 Construct as not yet initialized.
 BoolAFC (const BoolAFC &a)
 Copy constructor.
BoolAFCoperator= (const BoolAFC &a)
 Assignment operator.
 BoolAFC (Home home, const BoolVarArgs &x, double d=1.0, bool share=true)
 Initialize for Boolean variables x and decay factor d.
void init (Home home, const BoolVarArgs &x, double d=1.0, bool share=true)
 Initialize for Boolean variables x with decay factor d.

Detailed Description

Recording AFC information for Boolean variables.

Definition at line 4254 of file int.hh.


Constructor & Destructor Documentation

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 61 of file afc.hpp.

Gecode::BoolAFC::BoolAFC ( const BoolAFC a  )  [inline]

Copy constructor.

Definition at line 64 of file afc.hpp.

Gecode::BoolAFC::BoolAFC ( Home  home,
const BoolVarArgs x,
double  d = 1.0,
bool  share = true 
) [inline]

Initialize for Boolean variables x and decay factor d.

If several AFC objects are created for a space or its clones, the AFC values are shared between spaces. If the values should not be shared, share should be false.

Definition at line 73 of file afc.hpp.


Member Function Documentation

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

Assignment operator.

Definition at line 68 of file afc.hpp.

void Gecode::BoolAFC::init ( Home  home,
const BoolVarArgs x,
double  d = 1.0,
bool  share = true 
) [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.

If several AFC objects are created for a space or its clones, the AFC values are shared between spaces. If the values should not be shared, share should be false.

Definition at line 78 of file afc.hpp.


The documentation for this class was generated from the following files: