OBAState obaState = (OBAState) state;
Vertex v = state.getVertex();
if (v instanceof AbstractStopVertex) {
AbstractStopVertex stopVertex = (AbstractStopVertex) v;
StopEntry stop = stopVertex.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);
} else if (v instanceof AbstractBlockVertex) {