Static
ForCheck a constraint for each instance of an activity type.
activity type to check
function of an activity instance that returns a Constraint
Static
ForbiddenForbid instances of two activity types from overlapping with each other.
Static
RollingDetect when a spans object's cumulative duration either exceeds or falls short of a threshold within any interval of a given width.
Violations can be reported in various ways by setting the algorithm
argument:
ExcessSpans
detects times when the duration exceeds the threshold and highlights the individual spans that
contributed to the threshold violation.ExcessHull
detects times when the duration exceeds the threshold and highlights the whole group of spans that
contributed to the threshold violation in one interval.DeficitSpans
detects times when the duration falls short of the threshold and highlights the individual gaps between spans
that contributed to the threshold violation.DeficitHull
detects times when the duration falls short of the threshold and highlights the whole group of gaps between
spans that contributed to the threshold violation in one interval.spans object to detect threshold events on
width of the rolling interval
maximum allowable duration within any width
interval
algorithm for reporting violations
Generated using TypeDoc
An expression that discriminates between valid and invalid states.
Constraints can be based off of activity parameters and placement, resource profiles, or some combination of those.