Gecode::Search::NoGoodsProp Class Reference
No-good propagator. More...
#include <nogoods.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home) |
Perform copying during cloning. | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Const function (defined as low unary). | |
virtual void | reschedule (Space &home) |
Schedule function. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. | |
Static Public Member Functions | |
template<class Path > | |
static ExecStatus | post (Space &home, const Path &p) |
Post propagator for path p. | |
Protected Member Functions | |
NoGoodsProp (Space &home, NGL *root) | |
Constructor for creation. | |
NoGoodsProp (Space &home, NoGoodsProp &p) | |
Constructor for cloning p. | |
Protected Attributes | |
NGL * | root |
Root of no-good literal tree. | |
unsigned int | n |
Number of no-good literals with subscriptions. |
Detailed Description
No-good propagator.
Definition at line 65 of file nogoods.hh.
Constructor & Destructor Documentation
Constructor for creation.
Definition at line 50 of file nogoods.hpp.
Gecode::Search::NoGoodsProp::NoGoodsProp | ( | Space & | home, | |
NoGoodsProp & | p | |||
) | [inline, protected] |
Constructor for cloning p.
Definition at line 73 of file nogoods.hpp.
Member Function Documentation
Perform copying during cloning.
Implements Gecode::Actor.
Definition at line 77 of file nogoods.cpp.
PropCost Gecode::Search::NoGoodsProp::cost | ( | const Space & | home, | |
const ModEventDelta & | med | |||
) | const [virtual] |
Const function (defined as low unary).
Implements Gecode::Propagator.
Definition at line 82 of file nogoods.cpp.
void Gecode::Search::NoGoodsProp::reschedule | ( | Space & | home | ) | [virtual] |
ExecStatus Gecode::Search::NoGoodsProp::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [virtual] |
ExecStatus Gecode::Search::NoGoodsProp::post | ( | Space & | home, | |
const Path & | p | |||
) | [inline, static] |
Post propagator for path p.
Definition at line 90 of file nogoods.hpp.
size_t Gecode::Search::NoGoodsProp::dispose | ( | Space & | home | ) | [virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 196 of file nogoods.cpp.
Member Data Documentation
NGL* Gecode::Search::NoGoodsProp::root [protected] |
Root of no-good literal tree.
Definition at line 68 of file nogoods.hh.
unsigned int Gecode::Search::NoGoodsProp::n [protected] |
Number of no-good literals with subscriptions.
Definition at line 70 of file nogoods.hh.
The documentation for this class was generated from the following files:
- gecode/search/nogoods.hh
- gecode/search/nogoods.cpp
- gecode/search/nogoods.hpp