if (_transferPathService.isEnabled()) {
return getTransferPatternItinerariesBetween(fromVertex, toVertex,
new Date(targetTime), options);
} else {
options.remainingWeightHeuristic = new RemainingWeightHeuristicImpl();
options.aStarSearchFactory = new GenericAStarFactoryImpl();
return _pathService.plan(state, target, 1);
}
}