Generated on Thu Apr 5 2018 19:44:19 for Gecode by doxygen 1.8.13
Gecode::Kernel::GPI Class Reference

Global propagator information. More...

#include <gpi.hpp>

Classes

class  Info
 Class for storing propagator information. More...
 

Public Member Functions

 GPI (void)
 Initialize. More...
 
void decay (double d)
 Set decay factor to d. More...
 
double decay (void) const
 Return decay factor. More...
 
void fail (Info &c)
 Increment failure count. More...
 
Infoallocate (unsigned int p, unsigned int gid)
 Allocate info for existing propagator with pid p. More...
 
Infoallocate (unsigned int gid)
 Allocate new actor info. More...
 
bool unshare (void)
 Provide access to unshare info and set to true. More...
 
 ~GPI (void)
 Delete. More...
 

Detailed Description

Global propagator information.

Definition at line 43 of file gpi.hpp.

Constructor & Destructor Documentation

◆ GPI()

Gecode::Kernel::GPI::GPI ( void  )
inline

Initialize.

Definition at line 124 of file gpi.hpp.

◆ ~GPI()

Gecode::Kernel::GPI::~GPI ( void  )
inline

Delete.

Definition at line 191 of file gpi.hpp.

Member Function Documentation

◆ decay() [1/2]

void Gecode::Kernel::GPI::decay ( double  d)
inline

Set decay factor to d.

Definition at line 156 of file gpi.hpp.

◆ decay() [2/2]

double Gecode::Kernel::GPI::decay ( void  ) const
inline

Return decay factor.

Definition at line 138 of file gpi.hpp.

◆ fail()

void Gecode::Kernel::GPI::fail ( Info c)
inline

Increment failure count.

Definition at line 128 of file gpi.hpp.

◆ allocate() [1/2]

GPI::Info * Gecode::Kernel::GPI::allocate ( unsigned int  p,
unsigned int  gid 
)
inline

Allocate info for existing propagator with pid p.

Definition at line 163 of file gpi.hpp.

◆ allocate() [2/2]

GPI::Info * Gecode::Kernel::GPI::allocate ( unsigned int  gid)
inline

Allocate new actor info.

Definition at line 177 of file gpi.hpp.

◆ unshare()

bool Gecode::Kernel::GPI::unshare ( void  )
inline

Provide access to unshare info and set to true.

Definition at line 147 of file gpi.hpp.


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