Generated on Sat Aug 25 2012 15:53:12 for Gecode by doxygen 1.7.5
Gecode::Int::Element::ViewDom Class Reference

Domain consistent element propagator for array of views. More...

#include <element.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Perform copying during cloning.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Home home, IdxViewArray< VA > &iv, VB x0, VC x1)
 Post propagator for $iv_{x_0}=x_1$.

Protected Member Functions

 ViewDom (Space &home, bool share, ViewDom &p)
 Constructor for cloning p.
 ViewDom (Home home, IdxViewArray< VA > &iv, VB x0, VC x1)
 Constructor for creation.

Detailed Description

Domain consistent element propagator for array of views.

The propagator uses staging: first it uses bounds-propagation on the array of views and the uses domain-propagation on the array of views.

Requires


Constructor & Destructor Documentation

Gecode::Int::Element::ViewDom::ViewDom ( Space home,
bool  share,
ViewDom p 
) [inline, protected]

Constructor for cloning p.

Definition at line 493 of file view.hpp.

Gecode::Int::Element::ViewDom::ViewDom ( Home  home,
IdxViewArray< VA > &  iv,
VB  x0,
VC  x1 
) [inline, protected]

Constructor for creation.

Definition at line 470 of file view.hpp.


Member Function Documentation

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

Perform copying during cloning.

Definition at line 498 of file view.hpp.

PropCost Gecode::Int::Element::ViewDom::cost ( const Space home,
const ModEventDelta med 
) const [virtual]

Cost function.

If in stage for bounds-propagation defined as low linear, otherwise as high linear.

Reimplemented from Gecode::Int::Element::View< VA, VB, VC, PC_INT_DOM >.

Definition at line 505 of file view.hpp.

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

Perform propagation.

Definition at line 512 of file view.hpp.

ExecStatus Gecode::Int::Element::ViewDom::post ( Home  home,
IdxViewArray< VA > &  iv,
VB  x0,
VC  x1 
) [static]

Post propagator for $iv_{x_0}=x_1$.

Definition at line 476 of file view.hpp.


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