long initialWaitTime = obaState.getInitialWaitTime();
long duration = Math.abs(state.getTime() - time) - initialWaitTime;
if (!results.containsKey(stop) || results.get(stop) > duration)
results.put(stop, duration);
} else if (v instanceof AbstractBlockVertex) {
AbstractBlockVertex blockVertex = (AbstractBlockVertex) v;
ArrivalAndDepartureInstance instance = blockVertex.getInstance();
StopEntry stop = instance.getStop();
long initialWaitTime = obaState.getInitialWaitTime();
long duration = Math.abs(state.getTime() - time) - initialWaitTime;
if (!results.containsKey(stop) || results.get(stop) > duration)
results.put(stop, duration);