Description
Return overlap=max(0,min(restEnd,availableEnd)-max(restStart,availableStart)) and restFraction=overlap/(restEnd-restStart) when positive, otherwise zero with defined=false.
A production plan combines stage geometry, cue times, movement distances, material dimensions, and explicit scheduling or accounting rules. Signed margins reveal surplus or deficit under the chosen model. Physical clearances, execution variability, and governing requirements can require checks beyond one arithmetic term.
Return overlap=max(0,min(restEnd,availableEnd)-max(restStart,availableStart)) and restFraction=overlap/(restEnd-restStart) when positive, otherwise zero with defined=false.
When to use this tool
Use Performer Rest Window Overlap when you need this specific stage, cue, material, timing, count, or fee term under supplied production assumptions.
How to use the tool and how it works
- Enter restStart, restEnd, availableStart, availableEnd. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read overlap, restFraction, defined. Inspect defined before interpreting the associated values.
Require restEnd>=restStart and availableEnd>=availableStart. Return overlap=max(0,min(restEnd,availableEnd)-max(restStart,availableStart)) and restFraction=overlap/(restEnd-restStart) when positive, otherwise zero with defined=false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| restStart | Rest Start | Required. Finite number. |
| restEnd | Rest End | Required. Finite number. |
| availableStart | Available Start | Required. Finite number. |
| availableEnd | Available End | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| overlap | Overlap | Required. Finite number. |
| restFraction | Rest Fraction | Required. Finite number. |
| defined | Whether the associated denominator or quantity is defined; read before using a zero placeholder. | Required. Boolean. |
{
"input": {
"restStart": 10,
"restEnd": 20,
"availableStart": 15,
"availableEnd": 25
},
"output": {
"overlap": 5,
"restFraction": 0.5,
"defined": true
}
} Limitations and assumptions
- This is duration overlap under supplied time coordinates. It does not verify an actual rest break, recovery, labor-rule compliance, or appropriate performer scheduling.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.
Alternative or Complementary methods
Use a complete production schedule or equipment/layout assessment when one margin is insufficient. Check units, timing conventions, tolerances, and physical constraints before combining terms.
References
Similar or alternative tools
- Cue Overlap Valid Time Share
Return rawOverlap, validOverlap=rawOverlap-excludedOverlap, and shareOfFirst=validOverlap/(firstEnd-firstStart).
- Costume Change Overlap Slack
For nonnegative durations and overlap no greater than either dressMinutes or travelMinutes return requiredMinutes=dressMinutes+travelMinutes-overlap and slack=availableMinutes-requiredMinutes.