Gecode::Int::Linear::NqBoolView< XV, YV > Class Template Reference
[Integer propagators]
#include <linear.hh>
Inherits Gecode::Int::Linear::LinBoolView< XV, YV >< XV, YV >.
Detailed Description
template<class XV, class YV>
class Gecode::Int::Linear::NqBoolView< XV, YV >
Propagator for disequality to Boolean sum (cardinality)
Requires
#include "gecode/int/linear.hh"
Definition at line 921 of file linear.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Create copy during cloning. | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, ViewArray< XV > &x, YV y, int c) |
Post propagator for ![]() | |
Protected Member Functions | |
NqBoolView (Space *home, bool share, NqBoolView &p) | |
Constructor for cloning p. | |
NqBoolView (Space *home, ViewArray< XV > &x, YV y, int c) | |
Constructor for creation. |
Constructor & Destructor Documentation
template<class XV, class YV>
Gecode::Int::Linear::NqBoolView< XV, YV >::NqBoolView | ( | Space * | home, | |
bool | share, | |||
NqBoolView< XV, YV > & | p | |||
) | [protected] |
Constructor for cloning p.
template<class XV, class YV>
Gecode::Int::Linear::NqBoolView< XV, YV >::NqBoolView | ( | Space * | home, | |
ViewArray< XV > & | x, | |||
YV | y, | |||
int | c | |||
) | [inline, protected] |
Member Function Documentation
template<class XV, class YV>
Actor * Gecode::Int::Linear::NqBoolView< XV, YV >::copy | ( | Space * | home, | |
bool | share | |||
) | [virtual] |
template<class XV, class YV>
ExecStatus Gecode::Int::Linear::NqBoolView< XV, YV >::propagate | ( | Space * | home | ) | [virtual] |
template<class XV, class YV>
ExecStatus Gecode::Int::Linear::NqBoolView< XV, YV >::post | ( | Space * | home, | |
ViewArray< XV > & | x, | |||
YV | y, | |||
int | c | |||
) | [static] |
The documentation for this class was generated from the following files:
- gecode/int/linear.hh (Revision: 3604)
- gecode/int/linear/bool-view.icc (Revision: 3609)