Generated on Tue Apr 18 10:23:56 2017 for Gecode by doxygen 1.6.3

Gecode::Int::NoOverlap::OptProp< Box > 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, Box *b, int n)
 Post propagator for boxes b.

Protected Member Functions

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

Protected Attributes

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

Detailed Description

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

No-overlap propagator for optional boxes.

Requires

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


Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 42 of file opt.hpp.

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

Constructor for cloning p.

Definition at line 71 of file opt.hpp.


Member Function Documentation

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

Post propagator for boxes b.

Definition at line 50 of file opt.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 82 of file opt.hpp.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 76 of file opt.hpp.

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

Destructor.

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

Definition at line 61 of file opt.hpp.


Member Data Documentation

template<class Box>
int Gecode::Int::NoOverlap::OptProp< Box >::m [protected]

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

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


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