![]() |
OR-Tools
8.2
|
Definition at line 50 of file cumulative_energy.h.
Public Member Functions | |
| CumulativeEnergyConstraint (std::vector< AffineExpression > energies, AffineExpression capacity, IntegerTrail *integer_trail, SchedulingConstraintHelper *helper) | |
| bool | Propagate () final |
| void | RegisterWith (GenericLiteralWatcher *watcher) |
| virtual bool | IncrementalPropagate (const std::vector< int > &watch_indices) |
| CumulativeEnergyConstraint | ( | std::vector< AffineExpression > | energies, |
| AffineExpression | capacity, | ||
| IntegerTrail * | integer_trail, | ||
| SchedulingConstraintHelper * | helper | ||
| ) |
Definition at line 86 of file cumulative_energy.cc.
|
inlinevirtualinherited |
Reimplemented in CircuitPropagator, CircuitCoveringPropagator, SchedulingConstraintHelper, and LinearProgrammingConstraint.
|
finalvirtual |
Implements PropagatorInterface.
Definition at line 105 of file cumulative_energy.cc.
| void RegisterWith | ( | GenericLiteralWatcher * | watcher | ) |
Definition at line 99 of file cumulative_energy.cc.