Examples
Examples
Try the starting example
- Layovers [arrival minute,duration minutes,bays needed]; enter JSON
- [[0,10,1],[5,10,1],[8,5,1]]
- Available simultaneous slots (count)
- 2
- Peak occupied slots (count)
- 3
- Peak slot shortage (count)
- 1
- Occupancy intervals (JSON)
- [[0,10,1],[5,15,1],[8,13,1]]
Try another scenario
- Layovers [arrival minute,duration minutes,bays needed]; enter JSON
- [[0,8,1],[8,8,1]]
- Available simultaneous slots (count)
- 1
- Peak occupied slots (count)
- 1
- Peak slot shortage (count)
- 0
- Occupancy intervals (JSON)
- [[0,8,1],[8,16,1]]
Calculation method
Calculation method
Peak occupied slots (count)
Sweep all start/end events from [start minute,duration minutes,slot count]; end events precede starts at same time.
Peak slot shortage (count)
max(0,peak simultaneous occupancy−available slots).
Occupancy intervals (JSON)
Return each [start,end,slots] explicitly; half-open intervals allow adjacent use.
Symbols and units
- a
- Layovers [arrival minute,duration minutes,bays needed]; enter JSON
- b
- Available simultaneous slots (count)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Fixed bus layover intervals; overflow is demand above user-entered parking capacity. Supported limits: All numeric inputs and computed intermediates must remain finite. Supported numeric input magnitude is zero or 1e-12 through 1e12 in absolute value; reject values outside this bounded range. All lists/JSON record tables are limited to 100 records unless a stricter bound is stated; reject malformed record arity and wrong member types. 1..100 rows; start>=0, duration>0, occupied slot count positive integer. No fractional slot sharing; intervals are half-open [start,end).
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.