Generated on Fri Oct 19 11:25:46 2018 for Gecode by doxygen 1.6.3

Gecode::Action::Storage Class Reference

Object for storing action values. More...

#include <action.hpp>

List of all members.

Public Member Functions

template<class View >
 Storage (Home home, ViewArray< View > &x, double d, typename BranchTraits< typename View::VarType >::Merit bm)
 Initialize action values.
void update (int i)
 Update action value at position i.
 ~Storage (void)
 Delete object.

Public Attributes

int n
 Number of action values.
double invd
 Inverse decay factor.
double * a
 Action values (more follow).

Static Public Attributes

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

Detailed Description

Object for storing action values.

Definition at line 47 of file action.hpp.


Constructor & Destructor Documentation

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

Initialize action values.

Definition at line 257 of file action.hpp.

Gecode::Action::Storage::~Storage ( void   ) 

Delete object.

Definition at line 40 of file action.cpp.


Member Function Documentation

void Gecode::Action::Storage::update ( int  i  )  [inline]

Update action value at position i.

Definition at line 271 of file action.hpp.


Member Data Documentation

Mutex to synchronize globally shared access.

Definition at line 50 of file action.hpp.

Number of action values.

Definition at line 52 of file action.hpp.

Inverse decay factor.

Definition at line 54 of file action.hpp.

Action values (more follow).

Definition at line 56 of file action.hpp.


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