Generated on Sat Feb 7 2015 02:01:49 for Gecode by doxygen 1.8.9.1
Gecode::Int::NoOverlap::ManProp< Box > Class Template Reference

No-overlap propagator for mandatory boxes. More...

#include <no-overlap.hh>

Public Member Functions

virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation. More...
 
virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning. More...
 
virtual size_t dispose (Space &home)
 Destructor. More...
 
- Public Member Functions inherited from Gecode::Int::NoOverlap::Base< Box >
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function. 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, Box *b, int n)
 Post propagator for boxes b. 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

 ManProp (Home home, Box *b, int n)
 Constructor for posting. More...
 
 ManProp (Space &home, bool share, ManProp< Box > &p)
 Constructor for cloning p. More...
 
- Protected Member Functions inherited from Gecode::Int::NoOverlap::Base< Box >
 Base (Home home, Box *b, int n)
 Constructor for posting with n mandatory boxes. More...
 
 Base (Space &home, bool share, Base< Box > &p, int m)
 Constructor for cloning p with m boxes. 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

- Static Protected Member Functions inherited from Gecode::Int::NoOverlap::Base< Box >
static int partition (Box *b, int i, int n)
 Partition n boxes b starting at position i. More...
 
- Protected Attributes inherited from Gecode::Int::NoOverlap::Base< Box >
Box * b
 Boxes. More...
 
int n
 Number of mandatory boxes: b[0] ... b[n-1]. More...
 

Detailed Description

template<class Box>
class Gecode::Int::NoOverlap::ManProp< Box >

No-overlap propagator for mandatory boxes.

Requires

Definition at line 261 of file no-overlap.hh.

Constructor & Destructor Documentation

template<class Box >
Gecode::Int::NoOverlap::ManProp< Box >::ManProp ( Home  home,
Box *  b,
int  n 
)
inlineprotected

Constructor for posting.

Definition at line 42 of file man.hpp.

template<class Box >
Gecode::Int::NoOverlap::ManProp< Box >::ManProp ( Space home,
bool  share,
ManProp< Box > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 63 of file man.hpp.

Member Function Documentation

template<class Box >
ExecStatus Gecode::Int::NoOverlap::ManProp< Box >::post ( Home  home,
Box *  b,
int  n 
)
inlinestatic

Post propagator for boxes b.

Definition at line 47 of file man.hpp.

template<class Box >
ExecStatus Gecode::Int::NoOverlap::ManProp< Box >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 74 of file man.hpp.

template<class Box >
Actor * Gecode::Int::NoOverlap::ManProp< Box >::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 68 of file man.hpp.

template<class Box >
size_t Gecode::Int::NoOverlap::ManProp< Box >::dispose ( Space home)
inlinevirtual

Destructor.

Reimplemented from Gecode::Int::NoOverlap::Base< Box >.

Definition at line 55 of file man.hpp.


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