Gecode::Int::Linear::Eq< Val, P, N > Class Template Reference
[Integer propagators]
#include <linear.hh>
Inherits Gecode::Int::Linear::Lin< Val, P, N, PC_INT_BND >.
Detailed Description
template<class Val, class P, class N>
class Gecode::Int::Linear::Eq< Val, P, N >
Propagator for boundsconsistent nary linear equality
The type Val can be either double
or int
, defining the numerical precision during propagation. The types P and N give the types of the views.
The propagation condition pc refers to both views.
Requires
#include "gecode/int/linear.hh"
Definition at line 551 of file linear.hh.
Public Member Functions  
Eq (Space *home, ViewArray< P > &x, ViewArray< N > &y, Val c)  
Constructor for creation.  
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< P > &x, ViewArray< N > &y, Val c) 
Post propagator for .  
Protected Member Functions  
Eq (Space *home, bool share, Eq &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/linear.hh (Revision: 3604)
 gecode/int/linear/nary.icc (Revision: 3512)