Package org.opentripplanner.routing.impl

Examples of org.opentripplanner.routing.impl.GraphScanner


                this.graphService.registerGraph("", new MemoryGraphSource("", graph));
            }
        }
        if (params.routerIds.size() > 0 || params.autoScan) {
            /* Auto-register pre-existing graph on disk, with optional auto-scan. */
            GraphScanner graphScanner = new GraphScanner(graphService, params.autoScan);
            graphScanner.basePath = graphSourceFactory.basePath;
            if (params.routerIds.size() > 0) {
                graphScanner.defaultRouterId = params.routerIds.get(0);
            }
            graphScanner.autoRegister = params.routerIds;
            graphScanner.startup();
        }
    }
View Full Code Here

TOP

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

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.