[ library(ic_cumulative) | Reference Manual | Alphabetic Index ]
profile(+StartTimes, +Durations, +Resources, ?Profile)
Cumulative constraint on specified tasks.
- StartTimes
- Collection of start times for tasks (fd variables or integers)
- Durations
- Collection of duration for tasks (fd variables or integers)
- Resources
- Collection of resource usages by tasks (fd variables or integers)
- Profile
- List of resource usage at the start of each task
Description
StartTimes, Durations and Resources are collections (a la
collection_to_list/2) of equal size N of finite domain variable or
integers, with the same meaning as in cumulative/4.
Profile is unified with a list of length N of finite domain variables or
integers indicating the level of resource usage at the starting point of
each task.
See Also
cumulative / 4, eclipse_6 : collection_to_list / 2, lists : collection_to_list / 2