Gecode::Int::NoOverlap::OptProp< Box > 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) |
| 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
#include <gecode/int/no-overlap.hh>
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] |
template<class Box >
| Gecode::Int::NoOverlap::OptProp< Box >::OptProp | ( | Space & | home, | |
| OptProp< Box > & | p | |||
| ) | [inline, protected] |
Member Function Documentation
template<class Box >
| ExecStatus Gecode::Int::NoOverlap::OptProp< Box >::post | ( | Home | home, | |
| Box * | b, | |||
| int | n | |||
| ) | [inline, static] |
template<class Box >
| ExecStatus Gecode::Int::NoOverlap::OptProp< Box >::propagate | ( | Space & | home, | |
| const ModEventDelta & | med | |||
| ) | [inline, virtual] |
template<class Box >
| Actor * Gecode::Int::NoOverlap::OptProp< Box >::copy | ( | Space & | home | ) | [inline, virtual] |
template<class Box >
| size_t Gecode::Int::NoOverlap::OptProp< Box >::dispose | ( | Space & | home | ) | [inline, virtual] |
Destructor.
Reimplemented from Gecode::Int::NoOverlap::Base< Box >.
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:
- gecode/int/no-overlap.hh
- gecode/int/no-overlap/opt.hpp
