Gecode::Int::NoOverlap::OptProp< Dim, d > Class Template Reference
[Integer propagators]
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]. |
Detailed Description
template<class Dim, int d>
class Gecode::Int::NoOverlap::OptProp< Dim, d >
No-overlap propagator for optional boxes.
Requires
#include <gecode/int/no-overlap.hh>
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] |
template<class Dim , int d>
Gecode::Int::NoOverlap::OptProp< Dim, d >::OptProp | ( | Space & | home, | |
bool | share, | |||
OptProp< Dim, d > & | p | |||
) | [inline, protected] |
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] |
template<class Dim , int d>
ExecStatus Gecode::Int::NoOverlap::OptProp< Dim, d >::propagate | ( | Space & | home, | |
const ModEventDelta & | med | |||
) | [inline, virtual] |
template<class Dim , int d>
Actor * Gecode::Int::NoOverlap::OptProp< Dim, d >::copy | ( | Space & | home, | |
bool | share | |||
) | [inline, virtual] |
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 > >.
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:
- gecode/int/no-overlap.hh (Revision: 12194)
- gecode/int/no-overlap/opt.hpp (Revision: 12191)