Generated on for Gecode by doxygen 1.18.0

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.

Definition at line 2070 of file core.hpp.

Constructor & Destructor Documentation

◆ NoGPI()

Gecode::Space::NoGPI::NoGPI ( Space & home)
inlineexplicit

Suppress global information for new propagators in home.

Definition at line 3633 of file core.hpp.

◆ ~NoGPI()

Gecode::Space::NoGPI::~NoGPI ( void )
inline

Restore the previous setting.

Definition at line 3638 of file core.hpp.


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