use of org.opentripplanner.ext.siri.SiriFuzzyTripMatcher in project OpenTripPlanner by opentripplanner.
the class SiriSXUpdater method setup.
@Override
public void setup(Graph graph) {
this.transitAlertService = new TransitAlertServiceImpl(graph);
SiriFuzzyTripMatcher fuzzyTripMatcher = new SiriFuzzyTripMatcher(new RoutingService(graph));
if (updateHandler == null) {
updateHandler = new SiriAlertsUpdateHandler(feedId);
}
updateHandler.setEarlyStart(earlyStart);
updateHandler.setTransitAlertService(transitAlertService);
updateHandler.setSiriFuzzyTripMatcher(fuzzyTripMatcher);
}
Aggregations