Generated on Thu Mar 22 10:39:55 2012 for Gecode by doxygen 1.6.3

Gecode::Int::Arithmetic::SqrtBnd< View > Class Template Reference
[Integer propagators]

Bounds consistent square root 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, View x0, View x1)
 Post propagator $\lfloor\sqrt{x_0}\rfloor=x_1$.

Protected Member Functions

 SqrtBnd (Space &home, bool share, SqrtBnd< View > &p)
 Constructor for cloning p.
 SqrtBnd (Home home, View x0, View x1)
 Constructor for posting.

Detailed Description

template<class View>
class Gecode::Int::Arithmetic::SqrtBnd< View >

Bounds consistent square root propagator.

Requires

Definition at line 369 of file arithmetic.hh.


Constructor & Destructor Documentation

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

Constructor for cloning p.

Definition at line 101 of file sqrt.hpp.

template<class View >
Gecode::Int::Arithmetic::SqrtBnd< View >::SqrtBnd ( Home  home,
View  x0,
View  x1 
) [inline, protected]

Constructor for posting.

Definition at line 82 of file sqrt.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 106 of file sqrt.hpp.

template<class View >
ExecStatus Gecode::Int::Arithmetic::SqrtBnd< View >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 112 of file sqrt.hpp.

template<class View >
ExecStatus Gecode::Int::Arithmetic::SqrtBnd< View >::post ( Home  home,
View  x0,
View  x1 
) [inline, static]

Post propagator $\lfloor\sqrt{x_0}\rfloor=x_1$.

Definition at line 87 of file sqrt.hpp.


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