[ library(cumulative) | Reference Manual | Alphabetic Index ]
profile(+StartTimes, +Durations, +Resources, ?Profile)
Cumulative constraint on specified tasks.
- Collection of start times for tasks (fd variables or integers)
- Collection of duration for tasks (fd variables or integers)
- Collection of resource usages by tasks (fd variables or integers)
- List of resource usage at the start of each task
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
cumulative / 4, eclipse_6 : collection_to_list / 2, lists : collection_to_list / 2