![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 91 of file cumulative_energy.h.
#include <cumulative_energy.h>
Public Member Functions | |
| CumulativeIsAfterSubsetConstraint (IntegerVariable var, AffineExpression capacity, const std::vector< int > &subtasks, absl::Span< const IntegerValue > offsets, 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::CumulativeIsAfterSubsetConstraint::CumulativeIsAfterSubsetConstraint | ( | IntegerVariable | var, |
| AffineExpression | capacity, | ||
| const std::vector< int > & | subtasks, | ||
| absl::Span< const IntegerValue > | offsets, | ||
| SchedulingConstraintHelper * | helper, | ||
| SchedulingDemandHelper * | demands, | ||
| Model * | model ) |
Definition at line 251 of file cumulative_energy.cc.
|
finalvirtual |
Implements operations_research::sat::PropagatorInterface.
Definition at line 270 of file cumulative_energy.cc.
| void operations_research::sat::CumulativeIsAfterSubsetConstraint::RegisterWith | ( | GenericLiteralWatcher * | watcher | ) |
Definition at line 388 of file cumulative_energy.cc.