Examples of WalkToStopVertex


Examples of org.onebusaway.transit_data_federation.impl.otp.graph.WalkToStopVertex

  @Override
  public GraphPath getWalkingItineraryBetweenStops(StopEntry fromStop,
      StopEntry toStop, Date time, TraverseOptions options) {

    WalkFromStopVertex fromVertex = getWalkFromStopVertexForStop(fromStop);
    WalkToStopVertex toVertex = getWalkToStopVertexForStop(toStop);

    return getWalkingItineraryBetweenVertices(fromVertex, toVertex, time,
        options);
  }
View Full Code Here

Examples of org.onebusaway.transit_data_federation.impl.otp.graph.WalkToStopVertex

      /***
       * Add street-to-stop edges
       ****/

      WalkToStopVertex walkToStopVertex = new WalkToStopVertex(context, stop);

      if (linker.determineIncomingEdgesForVertex(walkToStopVertex, true)) {
        GraphVertex gv = graph.getGraphVertex(walkToStopVertex.getLabel());
        WaitingBeginsAtStopEdge edge = new WaitingBeginsAtStopEdge(context,
            stop, false);
        edge.setFromVertex(walkToStopVertex);
        gv.addOutgoing(edge);
      } else {
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.