Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Propagator that compares the boxes pairwise. More...
#include <diffn.h>
Public Member Functions | |
RectanglePairwisePropagator (SchedulingConstraintHelper *x, SchedulingConstraintHelper *y, Model *model) | |
~RectanglePairwisePropagator () override | |
bool | Propagate () final |
int | RegisterWith (GenericLiteralWatcher *watcher) |
Public Member Functions inherited from operations_research::sat::PropagatorInterface | |
PropagatorInterface ()=default | |
virtual | ~PropagatorInterface ()=default |
virtual bool | IncrementalPropagate (const std::vector< int > &) |
|
inline |
|
override |
|
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.
Check zero area boxes against non-zero area boxes.
Check vertical zero area boxes against horizontal zero area boxes.
Implements operations_research::sat::PropagatorInterface.
int operations_research::sat::RectanglePairwisePropagator::RegisterWith | ( | GenericLiteralWatcher * | watcher | ) |