Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm > Class Template Reference
Domain consistent reified extensional propagator. More...
#include <extensional.hh>
Public Types | |
typedef Compact< View, false > ::ValidSupports | ValidSupports |
typedef Compact< View, false > ::Range | Range |
Range type for supports. | |
typedef Compact< View, false > ::CTAdvisor | CTAdvisor |
Public Member Functions | |
template<class TableProp > | |
ReCompact (Space &home, TableProp &p) | |
Constructor for cloning p. | |
ReCompact (Home home, ViewArray< View > &x, const TupleSet &ts, CtrlView b) | |
Constructor for posting. | |
virtual void | reschedule (Space &home) |
Schedule function. | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
virtual Actor * | copy (Space &home) |
Copy propagator during cloning. | |
size_t | dispose (Space &home) |
Delete propagator and return its size. | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Give advice to propagator. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< View > &x, const TupleSet &ts, CtrlView b) |
Post propagator for views x and table t. | |
Public Attributes | |
Table | table |
Current table. | |
CtrlView | b |
Boolean control view. | |
ViewArray< View > | y |
The views (for rewriting). |
Detailed Description
template<class View, class Table, class CtrlView, ReifyMode rm>
class Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >
Domain consistent reified extensional propagator.
Definition at line 636 of file extensional.hh.
Member Typedef Documentation
typedef Compact<View,false>::ValidSupports Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::ValidSupports |
Definition at line 638 of file extensional.hh.
typedef Compact<View,false>::Range Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::Range |
Range type for supports.
Reimplemented from Gecode::Int::Extensional::Compact< View, false >.
Definition at line 639 of file extensional.hh.
typedef Compact<View,false>::CTAdvisor Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::CTAdvisor |
Definition at line 640 of file extensional.hh.
Constructor & Destructor Documentation
Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::ReCompact | ( | Space & | home, | |
TableProp & | p | |||
) | [inline] |
Constructor for cloning p.
Definition at line 1005 of file compact.hpp.
Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::ReCompact | ( | Home | home, | |
ViewArray< View > & | x, | |||
const TupleSet & | ts, | |||
CtrlView | b | |||
) | [inline] |
Constructor for posting.
Definition at line 1068 of file compact.hpp.
Member Function Documentation
void Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::reschedule | ( | Space & | home | ) | [inline, virtual] |
ExecStatus Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
Actor * Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::copy | ( | Space & | home | ) | [inline, virtual] |
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 1014 of file compact.hpp.
ExecStatus Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::post | ( | Home | home, | |
ViewArray< View > & | x, | |||
const TupleSet & | ts, | |||
CtrlView | b | |||
) | [inline, static] |
Post propagator for views x and table t.
Definition at line 1077 of file compact.hpp.
size_t Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Int::Extensional::Compact< View, false >.
Definition at line 1095 of file compact.hpp.
ExecStatus Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::advise | ( | Space & | home, | |
Advisor & | a, | |||
const Delta & | d | |||
) | [inline, virtual] |
Give advice to propagator.
Reimplemented from Gecode::Propagator.
Definition at line 1140 of file compact.hpp.
Member Data Documentation
Table Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::table |
Current table.
Definition at line 649 of file extensional.hh.
CtrlView Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::b |
Boolean control view.
Definition at line 651 of file extensional.hh.
ViewArray<View> Gecode::Int::Extensional::ReCompact< View, Table, CtrlView, rm >::y |
The views (for rewriting).
Definition at line 653 of file extensional.hh.
The documentation for this class was generated from the following files:
- gecode/int/extensional.hh
- gecode/int/extensional/compact.hpp