No-overlap propagator for optional boxes. More...
#include <no-overlap.hh>
Public Member Functions | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
virtual Actor * | copy (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]. |
No-overlap propagator for optional boxes.
Requires
#include <gecode/int/no-overlap.hh>
Definition at line 288 of file no-overlap.hh.
Gecode::Int::NoOverlap::OptProp< Dim, d >::OptProp | ( | Home | home, |
OptBox< Dim, d > * | b, | ||
int | n, | ||
int | m | ||
) | [inline, protected] |
Gecode::Int::NoOverlap::OptProp< Dim, d >::OptProp | ( | Space & | home, |
bool | share, | ||
OptProp< Dim, d > & | p | ||
) | [inline, protected] |
ExecStatus Gecode::Int::NoOverlap::OptProp< Dim, d >::post | ( | Home | home, |
OptBox< Dim, d > * | b, | ||
int | n | ||
) | [static] |
ExecStatus Gecode::Int::NoOverlap::OptProp< Dim, d >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
Actor * Gecode::Int::NoOverlap::OptProp< Dim, d >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
size_t Gecode::Int::NoOverlap::OptProp< Dim, d >::dispose | ( | Space & | home | ) | [inline, virtual] |
Destructor.
Reimplemented from Gecode::Int::NoOverlap::Base< OptBox< Dim, 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.