Vertex fromVertex = getTransitLocationAsVertex(from, options);
Vertex toVertex = getTransitLocationAsVertex(to, options);
if (fromVertex == null || toVertex == null)
throw new OutOfServiceAreaServiceException();
Vertex v = options.isArriveBy() ? toVertex : fromVertex;
Vertex target = options.isArriveBy() ? fromVertex : toVertex;
State state = new OBAState(targetTime, v, options);