![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
#include <integer_expr.h>
Public Member Functions | |
FixedDivisionPropagator (AffineExpression a, IntegerValue b, AffineExpression c, IntegerTrail *integer_trail) | |
FixedDivisionPropagator (const FixedDivisionPropagator &)=delete | |
This type is neither copyable nor movable. | |
FixedDivisionPropagator & | operator= (const FixedDivisionPropagator &)=delete |
bool | Propagate () final |
void | RegisterWith (GenericLiteralWatcher *watcher) |
![]() | |
PropagatorInterface ()=default | |
virtual | ~PropagatorInterface ()=default |
virtual bool | IncrementalPropagate (const std::vector< int > &) |
Propagates var_a / cst_b = var_c. Basic version, we don't extract any special cases, and we only propagates the bounds. cst_b must be > 0.
Definition at line 361 of file integer_expr.h.
operations_research::sat::FixedDivisionPropagator::FixedDivisionPropagator | ( | AffineExpression | a, |
IntegerValue | b, | ||
AffineExpression | c, | ||
IntegerTrail * | integer_trail ) |
Definition at line 1427 of file integer_expr.cc.
|
delete |
This type is neither copyable nor movable.
|
delete |
|
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 1435 of file integer_expr.cc.
void operations_research::sat::FixedDivisionPropagator::RegisterWith | ( | GenericLiteralWatcher * | watcher | ) |
Definition at line 1480 of file integer_expr.cc.