Examples
Examples
Try the starting example
- Existing occupancy windows JSON [[start day,end day],...]
- [[0,10],[20,30]]
- Owner-specified cleaning/isolation buffer (days)
- 2
- Requested start day
- 12
- Requested occupancy duration (days)
- 5
- Requested end including buffer (day)
- 19
- Conflicting existing windows
- 0
- Requested booking clear of existing windows (1/0)
- 1
Try another scenario
- Existing occupancy windows JSON [[start day,end day],...]
- [[0,11],[20,30]]
- Owner-specified cleaning/isolation buffer (days)
- 2
- Requested start day
- 12
- Requested occupancy duration (days)
- 5
- Requested end including buffer (day)
- 19
- Conflicting existing windows
- 1
- Requested booking clear of existing windows (1/0)
- 0
Calculation method
Calculation method
Requested end including buffer (day)
Expand each occupancy end by user buffer; compare half-open intervals with proposed occupancy+buffer.
Conflicting existing windows
Expand each occupancy end by user buffer; compare half-open intervals with proposed occupancy+buffer.
Requested booking clear of existing windows (1/0)
Expand each occupancy end by user buffer; compare half-open intervals with proposed occupancy+buffer.
Symbols and units
- a
- Existing occupancy windows JSON [[start day,end day],...]
- b
- Owner-specified cleaning/isolation buffer (days)
- c
- Requested start day
- d
- Requested occupancy duration (days)
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
- User-entered intervals only; no medical quarantine duration or treatment advice. Supported limits: All required fields must be finite values of the exact declared type and within displayed bounds. Lists contain1–1000 finite numbers. JSON tables are numeric rectangular rows, at most100 rows and30 columns; individual tools have stricter shape/domain constraints. User-entered intervals only; no medical quarantine duration or treatment advice.
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.