Gecode::Set::Element::ElementDisjoint Class Reference
[Set propagators]
#include <element.hh>
Inherits Gecode::Propagator.
Detailed Description
Propagator for element with disjointnessRequires
#include "gecode/set/element.hh"
Definition at line 193 of file element.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool) |
Copy propagator during cloning. | |
virtual PropCost | cost (ModEventDelta med) const |
Cost function. | |
virtual size_t | dispose (Space *home) |
Delete propagator and return its size. | |
virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
Perform propagation. | |
virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
Specification for this propagator. | |
Static Public Member Functions | |
static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
Post using specification. | |
static Support::Symbol | ati (void) |
Name of this propagator. | |
static ExecStatus | post (Space *home, IdxViewArray< SetView > &x, SetView y) |
Post propagator for . | |
Protected Member Functions | |
ElementDisjoint (Space *home, bool share, ElementDisjoint &p) | |
Constructor for cloning p. | |
ElementDisjoint (Space *home, IdxViewArray< SetView > &, SetView) | |
Constructor for posting. | |
Protected Attributes | |
IdxViewArray< SetView > | iv |
SetView | x1 |
Constructor & Destructor Documentation
Gecode::Set::Element::ElementDisjoint::ElementDisjoint | ( | Space * | home, | |
bool | share, | |||
ElementDisjoint & | p | |||
) | [inline, protected] |
Gecode::Set::Element::ElementDisjoint::ElementDisjoint | ( | Space * | home, | |
IdxViewArray< SetView > & | iv0, | |||
SetView | y1 | |||
) | [inline, protected] |
Member Function Documentation
Copy propagator during cloning.
Implements Gecode::Actor.
Definition at line 81 of file disjoint.cc.
PropCost Gecode::Set::Element::ElementDisjoint::cost | ( | ModEventDelta | med | ) | const [virtual] |
size_t Gecode::Set::Element::ElementDisjoint::dispose | ( | Space * | home | ) | [virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
Definition at line 72 of file disjoint.cc.
ExecStatus Gecode::Set::Element::ElementDisjoint::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [virtual] |
Reflection::ActorSpec Gecode::Set::Element::ElementDisjoint::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [virtual] |
Specification for this propagator.
Reimplemented from Gecode::Actor.
Definition at line 57 of file disjoint.cc.
void Gecode::Set::Element::ElementDisjoint::post | ( | Space * | home, | |
Reflection::VarMap & | vars, | |||
const Reflection::ActorSpec & | spec | |||
) | [static] |
Support::Symbol Gecode::Set::Element::ElementDisjoint::ati | ( | void | ) | [static] |
ExecStatus Gecode::Set::Element::ElementDisjoint::post | ( | Space * | home, | |
IdxViewArray< SetView > & | x, | |||
SetView | y | |||
) | [inline, static] |
Member Data Documentation
IdxViewArray<SetView> Gecode::Set::Element::ElementDisjoint::iv [protected] |
Definition at line 196 of file element.hh.
SetView Gecode::Set::Element::ElementDisjoint::x1 [protected] |
Definition at line 197 of file element.hh.
The documentation for this class was generated from the following files:
- gecode/set/element.hh (Revision: 7339)
- gecode/set/element/disjoint.cc (Revision: 6982)
- gecode/set/element/disjoint.icc (Revision: 6982)