Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: cumulative
Note: This documentation is automatically generated.
Function |
Type |
Arguments |
Comments |
Cumulative | Return type: std::function<void(Model*)> Arguments: const std::vector<IntervalVariable>& vars, const std::vector<AffineExpression>& demands, AffineExpression capacity, SchedulingConstraintHelper* helper = nullptr |
CumulativeTimeDecomposition | Return type: std::function<void(Model*)> Arguments: const std::vector<IntervalVariable>& vars, const std::vector<AffineExpression>& demands, AffineExpression capacity, SchedulingConstraintHelper* helper = nullptr |
CumulativeUsingReservoir | Return type: std::function<void(Model*)> Arguments: const std::vector<IntervalVariable>& vars, const std::vector<AffineExpression>& demands, AffineExpression capacity, SchedulingConstraintHelper* helper = nullptr |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["The C++ code defines three functions related to cumulative scheduling constraints: `Cumulative`, `CumulativeTimeDecomposition`, and `CumulativeUsingReservoir`. Each function takes a vector of `IntervalVariable`s, a vector of `AffineExpression`s representing demands, and an `AffineExpression` for capacity. An optional `SchedulingConstraintHelper` pointer is also accepted. These functions return a `std::function\u003cvoid(Model*)\u003e`, designed to be used to build constraint within a scheduling `Model`.\n"]]