Gecode::Set::Select::SelectDisjoint Class Reference
[Set propagators]
#include <select.hh>
Inherits Gecode::Propagator.
Detailed Description
Propagator for selected disjointnessRequires
#include "gecode/set/select.hh"
Definition at line 83 of file select.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool) |
Copy propagator during cloning. | |
virtual PropCost | cost (void) const |
Cost function. | |
virtual size_t | dispose (Space *home) |
Delete propagator and return its size. | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, IdxViewArray< SetView > &x, SetView y) |
Post propagator for ![]() | |
Protected Member Functions | |
SelectDisjoint (Space *home, bool share, SelectDisjoint &p) | |
Constructor for cloning p. | |
SelectDisjoint (Space *home, IdxViewArray< SetView > &, SetView) | |
Constructor for posting. | |
Protected Attributes | |
IdxViewArray< SetView > | iv |
SetView | x1 |
Constructor & Destructor Documentation
Gecode::Set::Select::SelectDisjoint::SelectDisjoint | ( | Space * | home, | |
bool | share, | |||
SelectDisjoint & | p | |||
) | [inline, protected] |
Gecode::Set::Select::SelectDisjoint::SelectDisjoint | ( | Space * | home, | |
IdxViewArray< SetView > & | , | |||
SetView | ||||
) | [inline, protected] |
Member Function Documentation
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 50 of file disjoint.cc.
PropCost Gecode::Set::Select::SelectDisjoint::cost | ( | void | ) | const [virtual] |
size_t Gecode::Set::Select::SelectDisjoint::dispose | ( | Space * | home | ) | [virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 41 of file disjoint.cc.
ExecStatus Gecode::Set::Select::SelectDisjoint::propagate | ( | Space * | home | ) | [virtual] |
ExecStatus Gecode::Set::Select::SelectDisjoint::post | ( | Space * | home, | |
IdxViewArray< SetView > & | x, | |||
SetView | y | |||
) | [inline, static] |
Member Data Documentation
IdxViewArray<SetView> Gecode::Set::Select::SelectDisjoint::iv [protected] |
SetView Gecode::Set::Select::SelectDisjoint::x1 [protected] |
The documentation for this class was generated from the following files:
- gecode/set/select.hh (Revision: 3246)
- gecode/set/select/disjoint.cc (Revision: 3246)
- gecode/set/select/disjoint.icc (Revision: 2639)