Graph graph = _graphService.getGraph();
Vertex origin = options.isArriveBy() ? toVertex : fromVertex;
Vertex target = options.isArriveBy() ? fromVertex : toVertex;
State init = new OBAState(time.getTime(), origin, options);
options.remainingWeightHeuristic = new TPRemainingWeightHeuristicImpl();
GenericAStar search = new GenericAStar();
search.setSkipTraverseResultStrategy(new SkipVertexImpl());
search.setSearchTerminationStrategy(new SearchTerminationStrategyImpl());
search.setShortestPathTreeFactory(TripSequenceShortestPathTree.FACTORY);