![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Exposed for testing. More...
#include <2d_mandatory_overlap_propagator.h>
Public Member Functions | |
MandatoryOverlapPropagator (NoOverlap2DConstraintHelper *helper, Model *model) | |
~MandatoryOverlapPropagator () override | |
bool | Propagate () final |
int | RegisterWith (GenericLiteralWatcher *watcher) |
![]() | |
PropagatorInterface ()=default | |
virtual | ~PropagatorInterface ()=default |
virtual bool | IncrementalPropagate (const std::vector< int > &) |
Exposed for testing.
Definition at line 36 of file 2d_mandatory_overlap_propagator.h.
|
inline |
Definition at line 38 of file 2d_mandatory_overlap_propagator.h.
|
override |
Definition at line 39 of file 2d_mandatory_overlap_propagator.cc.
|
finalvirtual |
This will be called after one or more literals that are watched by this propagator changed. It will also always be called on the first propagation cycle after registration.
Implements operations_research::sat::PropagatorInterface.
Definition at line 51 of file 2d_mandatory_overlap_propagator.cc.
int operations_research::sat::MandatoryOverlapPropagator::RegisterWith | ( | GenericLiteralWatcher * | watcher | ) |
Definition at line 33 of file 2d_mandatory_overlap_propagator.cc.