Package org.opentripplanner.routing.impl

Examples of org.opentripplanner.routing.impl.GenericAStarFactory


        this.params = params;
       
        // Core OTP modules
        graphService = gs;
        routingRequest = new RoutingRequest();
        sptServiceFactory = new GenericAStarFactory();

        // Choose a PathService to wrap the SPTService, depending on expected maximum path lengths
        if (params.longDistance) {
            LongDistancePathService pathService = new LongDistancePathService(graphService, sptServiceFactory);
            pathService.timeout = 10;
View Full Code Here


            }
            timetableSnapshotSource.applyTripUpdates(updates, agencyId);
            alertsUpdateHandler.update(feedMessage);
        } catch (Exception exception) {}

        genericAStar = new GenericAStarFactory();
        if (isLongDistance()) {
            pathService = new LongDistancePathService(null, genericAStar);
        } else {
            pathService = new RetryingPathServiceImpl(null, genericAStar);
        }
View Full Code Here

TOP

Related Classes of org.opentripplanner.routing.impl.GenericAStarFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.