Generated on Sat Feb 7 2015 02:01:51 for Gecode by doxygen 1.8.9.1
Gecode::Set::Convex::ConvexHull Class Reference

Propagator for the convex hull constraint More...

#include <convex.hh>

Public Member Functions

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

Static Public Member Functions

static ExecStatus post (Home home, SetView x, SetView y)
 Post propagator that propagates that y is the convex hull of x. More...
 
- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 

Protected Member Functions

 ConvexHull (Space &home, bool share, ConvexHull &)
 Constructor for cloning p. More...
 
 ConvexHull (Home home, SetView, SetView)
 Constructor for posting. More...
 
- Protected Member Functions inherited from Gecode::BinaryPropagator< SetView, PC_SET_ANY >
 BinaryPropagator (Space &home, bool share, BinaryPropagator &p)
 Constructor for cloning p. More...
 
 BinaryPropagator (Home home, SetViewx0, SetViewx1)
 Constructor for creation. More...
 
 BinaryPropagator (Space &home, bool share, Propagator &p, SetViewx0, SetViewx1)
 Constructor for rewriting p during cloning. More...
 
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 
Propagatorfwd (void) const
 Return forwarding pointer during copying. More...
 

Additional Inherited Members

- Protected Attributes inherited from Gecode::BinaryPropagator< SetView, PC_SET_ANY >
SetView x0
 Two views. More...
 
SetView x1
 

Detailed Description

Propagator for the convex hull constraint

Requires

Definition at line 84 of file convex.hh.

Constructor & Destructor Documentation

Gecode::Set::Convex::ConvexHull::ConvexHull ( Space home,
bool  share,
ConvexHull p 
)
inlineprotected

Constructor for cloning p.

Definition at line 56 of file hull.hpp.

Gecode::Set::Convex::ConvexHull::ConvexHull ( Home  home,
SetView  x,
SetView  y 
)
inlineprotected

Constructor for posting.

Definition at line 52 of file hull.hpp.

Member Function Documentation

Actor * Gecode::Set::Convex::ConvexHull::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 49 of file hull.cpp.

ExecStatus Gecode::Set::Convex::ConvexHull::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 54 of file hull.cpp.

ExecStatus Gecode::Set::Convex::ConvexHull::post ( Home  home,
SetView  x,
SetView  y 
)
inlinestatic

Post propagator that propagates that y is the convex hull of x.

Definition at line 60 of file hull.hpp.


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