Generated on Mon Aug 25 11:35:50 2008 for Gecode by doxygen 1.5.6

Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB > Class Template Reference

#include <arithmetic.hh>

Inherits Gecode::MixBinaryPropagator< VA, PC_INT_BND, Gecode::VB< P, b >, PC_INT_BND >.

List of all members.


Detailed Description

template<class VA, class VB>
class Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >

Bounds consistent positive square propagator.

This propagator provides multiplication for positive views only.

Definition at line 302 of file arithmetic.hh.


Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home, ModEventDelta med)
 Perform propagation.
virtual Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m) const
 Specification for this propagator.

Static Public Member Functions

static ExecStatus post (Space *home, VA x0, VB x1)
 Post propagator $x_0\cdot x_0=x_1$.
static void post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec)
 Post propagator for specification.
static Support::Symbol ati (void)
 Name of this propagator.

Protected Member Functions

 SqrPlusBnd (Space *home, VA x0, VB x1)
 Constructor for posting.
 SqrPlusBnd (Space *home, bool share, SqrPlusBnd< VA, VB > &p)
 Constructor for cloning p.

Constructor & Destructor Documentation

template<class VA, class VB>
Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::SqrPlusBnd ( Space home,
VA  x0,
VB  x1 
) [inline, protected]

Constructor for posting.

Definition at line 78 of file sqr.icc.

template<class VA, class VB>
Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::SqrPlusBnd ( Space home,
bool  share,
SqrPlusBnd< VA, VB > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 101 of file sqr.icc.


Member Function Documentation

template<class VA, class VB>
ExecStatus Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::post ( Space home,
VA  x0,
VB  x1 
) [inline, static]

Post propagator $x_0\cdot x_0=x_1$.

Definition at line 83 of file sqr.icc.

template<class VA, class VB>
void Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::post ( Space home,
Reflection::VarMap vars,
const Reflection::ActorSpec spec 
) [inline, static]

Post propagator for specification.

Definition at line 91 of file sqr.icc.

template<class VA, class VB>
Actor * Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 106 of file sqr.icc.

template<class VA, class VB>
ExecStatus Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::propagate ( Space home,
ModEventDelta  med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 112 of file sqr.icc.

template<class VA, class VB>
Reflection::ActorSpec Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::spec ( const Space home,
Reflection::VarMap m 
) const [inline, virtual]

Specification for this propagator.

Reimplemented from Gecode::Actor.

Definition at line 125 of file sqr.icc.

template<class VA, class VB>
Support::Symbol Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >::ati ( void   )  [inline, static]

Name of this propagator.

Definition at line 119 of file sqr.icc.


The documentation for this class was generated from the following files: