![]() |
OR-Tools
9.6
|
Definition at line 167 of file linear_propagation.h.
Public Member Functions | |
| LinearPropagator (Model *model) | |
| ~LinearPropagator () override | |
| bool | Propagate () final |
| void | SetLevel (int level) final |
| void | AddConstraint (absl::Span< const Literal > enforcement_literals, absl::Span< const IntegerVariable > vars, absl::Span< const IntegerValue > coeffs, IntegerValue upper_bound) |
| virtual bool | IncrementalPropagate (const std::vector< int > &watch_indices) |
|
explicit |
Definition at line 373 of file linear_propagation.cc.
|
override |
Definition at line 394 of file linear_propagation.cc.
| void AddConstraint | ( | absl::Span< const Literal > | enforcement_literals, |
| absl::Span< const IntegerVariable > | vars, | ||
| absl::Span< const IntegerValue > | coeffs, | ||
| IntegerValue | upper_bound | ||
| ) |
Definition at line 480 of file linear_propagation.cc.
|
inlinevirtualinherited |
Reimplemented in LinearProgrammingConstraint, SchedulingConstraintHelper, CircuitCoveringPropagator, NoCyclePropagator, and CircuitPropagator.
|
finalvirtual |
Implements PropagatorInterface.
Definition at line 440 of file linear_propagation.cc.
|
finalvirtual |
Implements ReversibleInterface.
Definition at line 413 of file linear_propagation.cc.