C++ Reference: class CumulativeConstraint

This documentation is automatically generated.



Specialized cumulative constraint.

This constraint allows adding fixed or variables demands to the cumulative constraint incrementally.

Method
AddDemand

Return type: void

Arguments: IntervalVar interval, IntVar demand

Adds a pair (interval, demand) to the constraint.