Generated on Thu Mar 16 2017 03:24:28 for Gecode by doxygen 1.8.13
Gecode::GPI Class Reference

Global propagator information. More...

#include <gpi.hpp>

Classes

class  Info
 Class for storing timed-decay value. More...
 

Public Member Functions

 GPI (void)
 Initialize. More...
 
 GPI (const GPI &ga)
 Copy during cloning. More...
 
 ~GPI (void)
 Destructor. 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...
 
void set (Info &c, double a)
 Set failure count to a. More...
 
double afc (Info &c)
 Return failure count. More...
 
Infoallocate (unsigned int gid)
 Allocate new actor info. More...
 

Detailed Description

Global propagator information.

Definition at line 43 of file gpi.hpp.

Constructor & Destructor Documentation

◆ GPI() [1/2]

Gecode::GPI::GPI ( void  )
inline

Initialize.

Definition at line 267 of file gpi.hpp.

◆ GPI() [2/2]

Gecode::GPI::GPI ( const GPI ga)
inline

Copy during cloning.

Definition at line 273 of file gpi.hpp.

◆ ~GPI()

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

Destructor.

Definition at line 307 of file gpi.hpp.

Member Function Documentation

◆ decay() [1/2]

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

Set decay factor to d.

Definition at line 348 of file gpi.hpp.

◆ decay() [2/2]

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

Return decay factor.

Definition at line 338 of file gpi.hpp.

◆ fail()

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

Increment failure count.

Definition at line 312 of file gpi.hpp.

◆ set()

void Gecode::GPI::set ( Info c,
double  a 
)
inline

Set failure count to a.

Definition at line 320 of file gpi.hpp.

◆ afc()

double Gecode::GPI::afc ( Info c)
inline

Return failure count.

Definition at line 328 of file gpi.hpp.

◆ allocate()

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

Allocate new actor info.

Definition at line 356 of file gpi.hpp.


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