Generated on Sat Aug 25 2012 15:53:13 for Gecode by doxygen 1.7.5
Gecode::Int::NoOverlap::OptProp Class Reference

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

No-overlap propagator for optional boxes.

Requires


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 42 of file opt.hpp.

Gecode::Int::NoOverlap::OptProp::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

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

Post propagator for boxes b.

Definition at line 50 of file opt.hpp.

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

Perform propagation.

Definition at line 82 of file opt.hpp.

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

Copy propagator during cloning.

Definition at line 76 of file opt.hpp.

size_t Gecode::Int::NoOverlap::OptProp::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

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: