Package org.opentripplanner.routing.core

Examples of org.opentripplanner.routing.core.HasEdges


    for (Vertex vertex : vertices) {

      Collection<Edge> edges = null;

      if (vertex instanceof HasEdges) {
        HasEdges hasEdges = (HasEdges) vertex;
        edges = hasEdges.getOutgoing();
      } else {
        Graph graph = _graphService.getGraph();
        GraphVertex gv = graph.getGraphVertex(vertex.getLabel());
        if (gv != null)
          edges = gv.getOutgoing();
View Full Code Here

TOP

Related Classes of org.opentripplanner.routing.core.HasEdges

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.