Gecode::Int::Linear::NqBoolInt< VX > Class Template Reference
[Integer propagators]
#include <linear.hh>
Inherits Gecode::BinaryPropagator< VX, PC_INT_VAL >.
Detailed Description
template<class VX>
class Gecode::Int::Linear::NqBoolInt< VX >
Propagator for integer disequal to Boolean sum (cardinality)
Requires
#include "gecode/int/linear.hh"
Definition at line 832 of file linear.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Copy propagator during cloning. | |
virtual PropCost | cost (void) const |
Cost function (defined as PC_LINEAR_LO). | |
virtual ExecStatus | propagate (Space *home) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, ViewArray< VX > &b, int c) |
Post propagator for . | |
Protected Member Functions | |
bool | resubscribe (Space *home, VX &y) |
Update subscription. | |
NqBoolInt (Space *home, ViewArray< VX > &b, int c) | |
Constructor for posting. | |
NqBoolInt (Space *home, bool share, NqBoolInt< VX > &p) | |
Constructor for cloning p. | |
Protected Attributes | |
ViewArray< VX > | x |
Views not yet subscribed to. | |
int | c |
Righthandside. |
Constructor & Destructor Documentation
|
Constructor for posting.
Definition at line 296 of file bool-int.icc. |
|
Constructor for cloning p.
Definition at line 306 of file bool-int.icc. |
Member Function Documentation
|
Update subscription.
Definition at line 363 of file bool-int.icc. |
|
Copy propagator during cloning.
Implements Gecode::Actor. Definition at line 351 of file bool-int.icc. |
|
Cost function (defined as PC_LINEAR_LO).
Reimplemented from Gecode::BinaryPropagator< VX, PC_INT_VAL >. Definition at line 357 of file bool-int.icc. |
|
Perform propagation.
Implements Gecode::Propagator. Definition at line 388 of file bool-int.icc. |
|
Post propagator for .
Definition at line 325 of file bool-int.icc. |
Member Data Documentation
|
Views not yet subscribed to.
|
|
Righthandside.
|
The documentation for this class was generated from the following files:
- gecode/int/linear.hh (Revision: 3604)
- gecode/int/linear/bool-int.icc (Revision: 3604)