Opening Hours
Many attractions have limited opening windows. GiTrip checks each stop's hours and nudges the proposed arrival forward to the next valid opening time if needed. If no slot fits today, the stop overflows to the next day.
GiTrip packs stops into days while respecting opening hours, desired time windows, and travel gaps. Explore each scenario step by step to see constraint-aware scheduling in action.
Many attractions have limited opening windows. GiTrip checks each stop's hours and nudges the proposed arrival forward to the next valid opening time if needed. If no slot fits today, the stop overflows to the next day.
The scheduler uses a cursor-based approach: it advances a time cursor through the day, placing each stop at the earliest valid moment after accounting for travel time. When the cursor exceeds the active window, remaining stops spill to the next day.
Constraints are checked in order: fixed time first (immovable), then opening hours, then desired window, and finally the active day window. This layered approach ensures hard constraints are never violated while soft preferences are honoured when possible.