Gecode::Int::Count::NqView< VX, VY, VZ, shr > Class Template Reference
[Integer propagators]
#include <count.hh>
Inherits Gecode::Int::Count::BaseView< VX, VY, VZ, shr >< VX, VY, VZ, shr >.
Detailed Description
template<class VX, class VY, class VZ, bool shr>
class Gecode::Int::Count::NqView< VX, VY, VZ, shr >
Propagator for counting views (different from number of equal views)
Not all combinations of views are possible. The types VX and VY must be either equal, or VY must be ConstIntView.
Requires
#include "gecode/int/count.hh"
Definition at line 305 of file count.hh.
Public Member Functions | |
NqView (Space *home, ViewArray< VX > &x, VY y, VZ z, int c) | |
Constructor for creation. | |
virtual Actor * | copy (Space *home, bool shr) |
Create copy during cloning. | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, ViewArray< VX > &x, VY y, VZ z, int c) |
Post propagator for . | |
Protected Member Functions | |
NqView (Space *home, bool shr, NqView &p) | |
Constructor for cloning p. |
Constructor & Destructor Documentation
|
Constructor for cloning p.
|
|
Constructor for creation.
|
Member Function Documentation
|
Create copy during cloning.
Implements Gecode::Actor. |
|
Perform propagation.
Implements Gecode::Propagator. |
|
Post propagator for .
|
The documentation for this class was generated from the following files:
- gecode/int/count.hh (Revision: 3684)
- gecode/int/count/view.icc (Revision: 3612)