Examples
Examples
Try the starting example
- Teacher slot options JSON [teacher ID,start minute,end minute]
- [["A",1020,1030],["A",1040,1050],["B",1030,1040]]
- Requested teachers JSON [ID,user priority weight]
- [["A",2],["B",1]]
- Walking buffer between appointments (min)
- 5
- Compatible appointment itinerary [teacher,start,end]
- [["A",1020,1030]]
- Unscheduled teacher IDs
- ["B"]
- Achieved user priority sum
- 2
Try another scenario
- Teacher slot options JSON [teacher ID,start minute,end minute]
- [["A",1020,1030],["A",1040,1050],["B",1030,1040]]
- Requested teachers JSON [ID,user priority weight]
- [["A",2],["B",1]]
- Walking buffer between appointments (min)
- 0
- Compatible appointment itinerary [teacher,start,end]
- [["A",1020,1030],["B",1030,1040]]
- Unscheduled teacher IDs
- []
- Achieved user priority sum
- 3
Calculation method
Calculation method
Compatible appointment itinerary [teacher,start,end]
Bounded exhaustive selection of <=1 slot per teacher; require end+buffer<=nextStart. Maximize sum supplied priority, then appointment count; tie earliest lexicographic chronological itinerary.
Unscheduled teacher IDs
Requested teachers absent from itinerary.
Achieved user priority sum
Sum weights for scheduled teachers.
Symbols and units
- a
- Teacher slot options JSON [teacher ID,start minute,end minute]
- b
- Requested teachers JSON [ID,user priority weight]
- c
- Walking buffer between appointments (min)
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 bounded appointment-option selection under one uniform walking buffer. No teacher availability fetched and no bookings made; explicit weights are user policy. Supported limits: 1..8 requested teachers, 1..8 supplied options each; positive weights; integer times 0<=start<end<=1440; buffer>=0; reject duplicate identical options. Bound product of (1+number of slot options per requested teacher) to <=100000; reject larger searches before enumeration.
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.