Skip to content

Main content

Performer Rest Window Overlap Tool

Calculate performer rest window overlap from explicit caller-supplied inputs.

Loading tool…

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

  1. Enter restStart, restEnd, availableStart, availableEnd. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. 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 fieldMeaning and unitsAccepted input
restStartRest StartRequired. Finite number.
restEndRest EndRequired. Finite number.
availableStartAvailable StartRequired. Finite number.
availableEndAvailable EndRequired. Finite number.
Output fieldInterpretationReturned shape
overlapOverlapRequired. Finite number.
restFractionRest FractionRequired. Finite number.
definedWhether the associated denominator or quantity is defined; read before using a zero placeholder.Required. Boolean.
json
{
  "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

  1. Calculation and input contract: performing-arts/performer-rest-window-overlap — tool.io

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.