StopEntry actual = actualOriginStops.get(state);
if (actual == null) {
Vertex v = state.getVertex();
if (v instanceof TPOfflineNearbyStopsVertex) {
TPOfflineNearbyStopsVertex nsv = (TPOfflineNearbyStopsVertex) v;
actual = nsv.getStop();
} else if (v instanceof TPOfflineOriginVertex) {
TPOfflineOriginVertex originVertex = (TPOfflineOriginVertex) v;
actual = originVertex.getStop();
} else {
actual = getActualOriginStop(state.getBackState(), actualOriginStops);