![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 60 of file cumulative_energy.h.
#include <cumulative_energy.h>
Public Member Functions | |
| CumulativeEnergyConstraint (AffineExpression capacity, SchedulingConstraintHelper *helper, SchedulingDemandHelper *demands, Model *model) | |
| bool | Propagate () final |
| void | RegisterWith (GenericLiteralWatcher *watcher) |
| Public Member Functions inherited from operations_research::sat::PropagatorInterface | |
| PropagatorInterface ()=default | |
| virtual | ~PropagatorInterface ()=default |
| virtual bool | IncrementalPropagate (const std::vector< int > &) |
| operations_research::sat::CumulativeEnergyConstraint::CumulativeEnergyConstraint | ( | AffineExpression | capacity, |
| SchedulingConstraintHelper * | helper, | ||
| SchedulingDemandHelper * | demands, | ||
| Model * | model ) |
Definition at line 68 of file cumulative_energy.cc.
|
finalvirtual |
Implements operations_research::sat::PropagatorInterface.
Definition at line 86 of file cumulative_energy.cc.
| void operations_research::sat::CumulativeEnergyConstraint::RegisterWith | ( | GenericLiteralWatcher * | watcher | ) |
Definition at line 79 of file cumulative_energy.cc.