Skip to content
Astera Technology

Specify route windows using arrival and service time

Use supplied travel and stop durations to test an arrival window without turning it into a finish deadline.

Record the event the time window controls

Synthetic van leaves at 09:30, travels twenty minutes to A, serves A for fifteen, then travels twenty to B. B requires arrival from 10:00 inclusive to 10:30 exclusive. The planned B arrival is 10:25. Durations are invented planning inputs, not road conditions or an actual delivery promise.

Synthetic route-window requirements
ConstraintRequired recordExample decision rule
Route sequenceStart + travel A + service A + travel B09:30 + 20 + 15 + 20 = 10:25
Window eventArrival at BArrival must be before 10:30
Service completionSeparate service-end timeFinish after 10:30 does not change arrival test
Download editable CSV ↓

Test arrival at and before the boundary

Filled synthetic acceptance cases
CaseInputExpected decision
B arrival 10:25Within [10:00,10:30)Window met
B arrival 10:30Excluded endWindow not met
Download editable CSV ↓
  1. Read ordered stop sequence
  2. Add supplied durations
  3. Compare B arrival with window
  4. Keep actual arrival separate from forecast

Unknown travel time leaves the estimate incomplete; do not insert zero to make a window pass.

Service at A becomes twenty-five minutes. Does B still meet its window?

Show the worked answer

No. Arrival becomes 10:35, five minutes after the excluded 10:30 end.

The brief should name arrival versus service-end explicitly, and show both forecast and observed times in the demonstration.

Related resources