Gecode::Space::NoGPI Class Reference
Suppress global propagator information during scoped posting. More...
#include <gecode/kernel/core.hpp>
Public Member Functions | |
| NoGPI (Space &home) | |
| Suppress global information for new propagators in home. | |
| ~NoGPI (void) | |
| Restore the previous setting. | |
Detailed Description
Suppress global propagator information during scoped posting.
New propagators keep their information in the space, with normal identifiers and groups but zero AFC. Group changes stay local to the space. Clones copy this information and start with ordinary posting enabled. Rewriting preserves the original propagator's information.
UseGPI enables global information within this scope. Both contexts restore the previous setting on destruction, including unwinding. The space must outlive them; contexts for the same space must be destroyed in reverse order.
Constructor & Destructor Documentation
◆ NoGPI()
|
inlineexplicit |
◆ ~NoGPI()
|
inline |
The documentation for this class was generated from the following file:
- gecode/kernel/core.hpp
