Generated on Tue Sep 25 2012 20:53:29 for Gecode by doxygen 1.7.5
Gecode::Int::Arithmetic::SqrPlusBnd Class Reference

Bounds consistent positive square propagator. More...

#include <arithmetic.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, VA x0, VB x1)
 Post propagator $x_0\cdot x_0=x_1$.

Protected Member Functions

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

Detailed Description

Bounds consistent positive square propagator.

This propagator provides multiplication for positive views only.


Constructor & Destructor Documentation

Gecode::Int::Arithmetic::SqrPlusBnd::SqrPlusBnd ( Home  home,
VA  x0,
VB  x1 
) [inline, protected]

Constructor for posting.

Definition at line 78 of file sqr.hpp.

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

Constructor for cloning p.

Definition at line 91 of file sqr.hpp.


Member Function Documentation

ExecStatus Gecode::Int::Arithmetic::SqrPlusBnd::post ( Home  home,
VA  x0,
VB  x1 
) [inline, static]

Post propagator $x_0\cdot x_0=x_1$.

Definition at line 83 of file sqr.hpp.

Actor * Gecode::Int::Arithmetic::SqrPlusBnd::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Definition at line 96 of file sqr.hpp.

ExecStatus Gecode::Int::Arithmetic::SqrPlusBnd::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Definition at line 102 of file sqr.hpp.


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