Package org.opentripplanner.profile

Examples of org.opentripplanner.profile.ProfileRouter.route()


        req.minCarTime   = minCarTime;
        req.suboptimalMinutes = suboptimalMinutes;

        ProfileRouter router = new ProfileRouter(graph, req);
        try {
            ProfileResponse response = router.route();
            if (req.analyst) {
                surfaceCache.add(router.minSurface);
                surfaceCache.add(router.maxSurface);
                List<TimeSurfaceShort> surfaceShorts = Lists.newArrayList();
                surfaceShorts.add(new TimeSurfaceShort(router.minSurface));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.