Package org.opentripplanner.routing.spt

Examples of org.opentripplanner.routing.spt.MultiShortestPathTree


        runState.rctx = options.getRoutingContext();

        // null checks on origin and destination vertices are already performed in setRoutingContext
        // options.rctx.check();

        runState.spt = new MultiShortestPathTree(runState.options);
        //runState.spt = new EarliestArrivalShortestPathTree(options); //MultiShortestPathTree(runState.options);

        runState.heuristic = options.batch ?
                new TrivialRemainingWeightHeuristic() : runState.rctx.remainingWeightHeuristic;
View Full Code Here


        TPOfflineOriginVertex origin = new TPOfflineOriginVertex(context, stop,
            instances, nearbyStopsAndWalkTimes, nearbyStopTimeInstances);
        State state = new OBAState(tFrom, origin, options);

        MultiShortestPathTree spt = (MultiShortestPathTree) dijkstra.getShortestPathTree(state);

        processTree(spt, stop, pathCountsByStop);
      }

      MutableTransferPattern pattern = new MutableTransferPattern(stop);
View Full Code Here

TOP

Related Classes of org.opentripplanner.routing.spt.MultiShortestPathTree

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.