Examples
Examples
Try the starting example
- JSON Bookings [ID,room ID,user noise class,start hour,end hour]
- [["B1","R1","loud",0,2],["B2","R2","quiet",1,3],["B3","R3","quiet",1,3]]
- JSON Supplied symmetric incompatibilities [room A,room B,class A,class B]
- [["R1","R2","loud","quiet"]]
- Incompatible overlaps [booking,booking,start,end]
- [["B1","B2",1,2]]
- Conflict pair count
- 1
- Conflict pair-hours
- 1
Try another scenario
- JSON Bookings [ID,room ID,user noise class,start hour,end hour]
- [["B1","R1","loud",0,1],["B2","R2","quiet",1,3],["B3","R3","quiet",1,3]]
- JSON Supplied symmetric incompatibilities [room A,room B,class A,class B]
- [["R1","R2","loud","quiet"]]
- Incompatible overlaps [booking,booking,start,end]
- []
- Conflict pair count
- 0
- Conflict pair-hours
- 0
Calculation method
Calculation method
Incompatible overlaps [booking,booking,start,end]
Compare each unordered booking pair against supplied room/class incompatibility in either direction; intersect half-open intervals.
Conflict pair count
Number of incompatible overlapping unordered pairs.
Conflict pair-hours
Sum overlap durations across incompatible pairs; simultaneous pairs counted separately.
Symbols and units
- a
- JSON Bookings [ID,room ID,user noise class,start hour,end hour]
- b
- JSON Supplied symmetric incompatibilities [room A,room B,class A,class B]
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
- Exact supplied room adjacency and noise incompatibility graph; no acoustic propagation/noise assessment inferred. Supported limits: At most 100 bookings and 1000 explicit rules.
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.