Generated on Sun Aug 26 2012 08:44:28 for Gecode by doxygen 1.8.1.1
Gecode::Set::RelOp::Intersection< View0, View1, View2 > Class Template Reference

Propagator for ternary intersection More...

#include <rel-op.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
- Public Member Functions inherited from Gecode::MixTernaryPropagator< View0, PC_SET_ANY, View1, PC_SET_ANY, View2, PC_SET_ANY >
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low ternary)
virtual size_t dispose (Space &home)
 Delete propagator and return its size.
- Public Member Functions inherited from Gecode::Propagator
ModEventDelta modeventdelta (void) const
 Return the modification event delta.
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function.
double afc (void) const
 Return the accumlated failure count.

Static Public Member Functions

static ExecStatus post (Home home, View0 x, View1 y, View2 z)
 Post propagator $ z=x\cap y$.

Protected Member Functions

 Intersection (Space &home, bool share, Intersection &p)
 Constructor for cloning p.
 Intersection (Home home, View0, View1, View2)
 Constructor for posting.
- Protected Member Functions inherited from Gecode::MixTernaryPropagator< View0, PC_SET_ANY, View1, PC_SET_ANY, View2, PC_SET_ANY >
 MixTernaryPropagator (Space &home, bool share, MixTernaryPropagator &p)
 Constructor for cloning.
 MixTernaryPropagator (Home home, View0 x0, View1 x1, View2 x2)
 Constructor for creation.
 MixTernaryPropagator (Space &home, bool share, Propagator &p, View0 x0, View1 x1, View2 x2)
 Constructor for rewriting p during cloning.
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting.
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p.

Additional Inherited Members

- Protected Attributes inherited from Gecode::MixTernaryPropagator< View0, PC_SET_ANY, View1, PC_SET_ANY, View2, PC_SET_ANY >
View0 x0
 View of type View0.
View1 x1
 View of type View1.
View2 x2
 View of type View2.

Detailed Description

template<class View0, class View1, class View2>
class Gecode::Set::RelOp::Intersection< View0, View1, View2 >

Propagator for ternary intersection

Requires

Definition at line 126 of file rel-op.hh.


Constructor & Destructor Documentation

template<class View0 , class View1 , class View2 >
Gecode::Set::RelOp::Intersection< View0, View1, View2 >::Intersection ( Space home,
bool  share,
Intersection< View0, View1, View2 > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 197 of file inter.hpp.

template<class View0 , class View1 , class View2 >
Gecode::Set::RelOp::Intersection< View0, View1, View2 >::Intersection ( Home  home,
View0  y0,
View1  y1,
View2  y2 
)
inlineprotected

Constructor for posting.

Definition at line 190 of file inter.hpp.


Member Function Documentation

template<class View0 , class View1 , class View2 >
Actor * Gecode::Set::RelOp::Intersection< View0, View1, View2 >::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 60 of file inter.hpp.

template<class View0 , class View1 , class View2 >
ExecStatus Gecode::Set::RelOp::Intersection< View0, View1, View2 >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 66 of file inter.hpp.

template<class View0 , class View1 , class View2 >
ExecStatus Gecode::Set::RelOp::Intersection< View0, View1, View2 >::post ( Home  home,
View0  x,
View1  y,
View2  z 
)
static

Post propagator $ z=x\cap y$.

Definition at line 52 of file inter.hpp.


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