Generated on Tue May 22 09:40:55 2018 for Gecode by doxygen 1.6.3

Gecode::CHB::Storage Class Reference

Object for storing chb information. More...

#include <chb.hpp>

List of all members.

Public Member Functions

template<class View >
 Storage (Home home, ViewArray< View > &x, typename BranchTraits< typename View::VarType >::Merit bm)
 Initialize CHB info.
 ~Storage (void)
 Delete object.
void bump (void)
 Bump failure count and alpha.
void update (int i, bool failed)
 Update chb information at position i.

Public Attributes

int n
 Number of chb values.
unsigned long int nf
 Number of failures.
double alpha
 Alpha value.
Infochb
 CHB information.

Static Public Attributes

static Support::Mutex m
 Mutex to synchronize globally shared access.

Detailed Description

Object for storing chb information.

Definition at line 59 of file chb.hpp.


Constructor & Destructor Documentation

template<class View >
Gecode::CHB::Storage::Storage ( Home  home,
ViewArray< View > &  x,
typename BranchTraits< typename View::VarType >::Merit  bm 
) [inline]

Initialize CHB info.

Definition at line 266 of file chb.hpp.

Gecode::CHB::Storage::~Storage ( void   ) 

Delete object.

Definition at line 40 of file chb.cpp.


Member Function Documentation

void Gecode::CHB::Storage::bump ( void   )  [inline]

Bump failure count and alpha.

Definition at line 285 of file chb.hpp.

void Gecode::CHB::Storage::update ( int  i,
bool  failed 
) [inline]

Update chb information at position i.

Definition at line 292 of file chb.hpp.


Member Data Documentation

Mutex to synchronize globally shared access.

Definition at line 62 of file chb.hpp.

Number of chb values.

Definition at line 64 of file chb.hpp.

unsigned long int Gecode::CHB::Storage::nf

Number of failures.

Definition at line 66 of file chb.hpp.

Alpha value.

Definition at line 68 of file chb.hpp.

CHB information.

Definition at line 70 of file chb.hpp.


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