Package org.opentripplanner.graph_builder.annotation

Examples of org.opentripplanner.graph_builder.annotation.Graphwide


         * TODO Move this away, this is common to all street builders.
         *
         * @param graph
         */
        private void applyBikeSafetyFactor(Graph graph) {
            LOG.info(graph.addBuilderAnnotation(new Graphwide(
                    "Multiplying all bike safety values by " + (1 / bestBikeSafety))));
            HashSet<Edge> seenEdges = new HashSet<Edge>();
            HashSet<AreaEdgeList> seenAreas = new HashSet<AreaEdgeList>();
            for (Vertex vertex : graph.getVertices()) {
                for (Edge e : vertex.getOutgoing()) {
View Full Code Here

TOP

Related Classes of org.opentripplanner.graph_builder.annotation.Graphwide

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.