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

Gecode::Int::NoOverlap::OptProp< Dim, d > Class Template Reference
[Integer propagators]

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

#include <no-overlap.hh>

List of all members.

Public Member Functions

virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual size_t dispose (Space &home)
 Destructor.

Static Public Member Functions

static ExecStatus post (Home home, OptBox< Dim, d > *b, int n)
 Post propagator for boxes b.

Protected Member Functions

 OptProp (Home home, OptBox< Dim, d > *b, int n, int m)
 Constructor for posting.
 OptProp (Space &home, bool share, OptProp< Dim, d > &p)
 Constructor for cloning p.

Protected Attributes

int m
 Number of optional boxes: b[n] ... b[n+m-1].

Detailed Description

template<class Dim, int d>
class Gecode::Int::NoOverlap::OptProp< Dim, d >

No-overlap propagator for optional boxes.

Requires

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


Constructor & Destructor Documentation

template<class Dim , int d>
Gecode::Int::NoOverlap::OptProp< Dim, d >::OptProp ( Home  home,
OptBox< Dim, d > *  b,
int  n,
int  m 
) [inline, protected]

Constructor for posting.

Definition at line 42 of file opt.hpp.

template<class Dim , int d>
Gecode::Int::NoOverlap::OptProp< Dim, d >::OptProp ( Space home,
bool  share,
OptProp< Dim, d > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 71 of file opt.hpp.


Member Function Documentation

template<class Dim , int d>
ExecStatus Gecode::Int::NoOverlap::OptProp< Dim, d >::post ( Home  home,
OptBox< Dim, d > *  b,
int  n 
) [inline, static]

Post propagator for boxes b.

Definition at line 50 of file opt.hpp.

template<class Dim , int d>
ExecStatus Gecode::Int::NoOverlap::OptProp< Dim, d >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 82 of file opt.hpp.

template<class Dim , int d>
Actor * Gecode::Int::NoOverlap::OptProp< Dim, d >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 76 of file opt.hpp.

template<class Dim , int d>
size_t Gecode::Int::NoOverlap::OptProp< Dim, d >::dispose ( Space home  )  [inline, virtual]

Destructor.

Reimplemented from Gecode::Int::NoOverlap::Base< OptBox< Dim, d > >.

Definition at line 61 of file opt.hpp.


Member Data Documentation

template<class Dim, int d>
int Gecode::Int::NoOverlap::OptProp< Dim, d >::m [protected]

Number of optional boxes: b[n] ... b[n+m-1].

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


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