Gecode::Int::Linear::Lq< 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::Lq< Val, P, N >
Propagator for boundsconsistent nary linear less or equal
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 685 of file linear.hh.
Public Member Functions  
Lq (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  
Lq (Space *home, bool share, Lq &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)