Generated on Wed Nov 1 15:05:24 2006 for Gecode by doxygen 1.4.5

Gecode::Set::Int::Card Class Reference
[Set propagators]

#include <int.hh>

Inherits Gecode::IntSetPropagator< SetView, PC_SET_CARD, Gecode::Int::PC_INT_BND >.

List of all members.


Detailed Description

Propagator for cardinality

Requires

 #include "gecode/set/int.hh" 

Definition at line 86 of file int.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Space *home, SetView s, Gecode::Int::IntView x)
 Post propagator for $ |s|=x $.

Protected Member Functions

 Card (Space *home, bool share, Card &p)
 Constructor for cloning p.
 Card (Space *home, SetView, Gecode::Int::IntView)
 Constructor for posting.


Constructor & Destructor Documentation

Gecode::Set::Int::Card::Card Space home,
bool  share,
Card p
[inline, protected]
 

Constructor for cloning p.

Definition at line 47 of file card.icc.

Gecode::Set::Int::Card::Card Space home,
SetView  ,
Gecode::Int::IntView 
[inline, protected]
 

Constructor for posting.

Definition at line 34 of file card.icc.


Member Function Documentation

Actor * Gecode::Set::Int::Card::copy Space home,
bool 
[virtual]
 

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 39 of file card.cc.

ExecStatus Gecode::Set::Int::Card::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 44 of file card.cc.

ExecStatus Gecode::Set::Int::Card::post Space home,
SetView  s,
Gecode::Int::IntView  x
[inline, static]
 

Post propagator for $ |s|=x $.

Definition at line 39 of file card.icc.


The documentation for this class was generated from the following files: