Generated on Thu Apr 11 14:00:04 2019 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)
 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, 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 294 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 38 of file opt.hpp.

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

Constructor for cloning p.

Definition at line 67 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 46 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 78 of file opt.hpp.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 72 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 57 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 299 of file no-overlap.hh.


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