This time is compared to the time it takes to walk the route and the time it takes to walk the shortest (non-accessible) route.
(This time; is compared; to the time it takes to walk the route and the time)
This time
is compared
to the time it takes to walk the route and the time