Gecode::NoGoods Class Reference
No-goods recorded from restarts. More...
#include <core.hpp>
Public Member Functions | |
NoGoods (void) | |
Initialize. | |
virtual void | post (Space &home) const |
Post no-goods. | |
unsigned long int | ng (void) const |
Return number of no-goods posted. | |
void | ng (unsigned long int n) |
Set number of no-goods posted to n | |
virtual | ~NoGoods (void) |
Destructor. | |
Static Public Attributes | |
static NoGoods | eng |
Empty no-goods. | |
Protected Attributes | |
unsigned long int | n |
Number of no-goods. |
Detailed Description
No-goods recorded from restarts.
Definition at line 1595 of file core.hpp.
Constructor & Destructor Documentation
Gecode::NoGoods::~NoGoods | ( | void | ) | [inline, virtual] |
Member Function Documentation
void Gecode::NoGoods::post | ( | Space & | home | ) | const [virtual] |
Post no-goods.
Reimplemented in Gecode::Search::Parallel::Path, and Gecode::Search::Sequential::Path.
unsigned long int Gecode::NoGoods::ng | ( | void | ) | const [inline] |
void Gecode::NoGoods::ng | ( | unsigned long int | n | ) | [inline] |
Member Data Documentation
unsigned long int Gecode::NoGoods::n [protected] |
NoGoods Gecode::NoGoods::eng [static] |
The documentation for this class was generated from the following files:
- gecode/kernel/core.hpp (Revision: 15597)
- gecode/kernel/core.cpp (Revision: 15597)