happens when the segment is empty and the direction of travel
is established by the first truck to arrive at the segment.
The direction is maintained as long as trucks keep arriving at the
segment in that same direction. When the segment is empty,
the direction of travel is reversed if trucks were waiting to enter
the segment from the other end otherwise it is established by
the first truck to arrive at the segment.