Package org.onebusaway.transit_data_federation.bundle.tasks.transfer_pattern.graph

Examples of org.onebusaway.transit_data_federation.bundle.tasks.transfer_pattern.graph.TPOfflineTransferVertex$BoardEdge


    EdgeNarrative narrative = state.getBackEdgeNarrative();

    if (payload instanceof TPOfflineTransferEdge) {

      TPOfflineBlockArrivalVertex fromV = (TPOfflineBlockArrivalVertex) narrative.getFromVertex();
      TPOfflineTransferVertex toV = (TPOfflineTransferVertex) narrative.getToVertex();

      List<StopEntry> incomingPattern = computeParentsForState(
          state.getBackState(), parentsByState2);
      ArrayList<StopEntry> extendedPattern = new ArrayList<StopEntry>(
          incomingPattern);

      extendedPattern.add(fromV.getStop());
      extendedPattern.add(toV.getStop());

      parent = extendedPattern;

    } else {
      parent = computeParentsForState(state.getBackState(), parentsByState2);
View Full Code Here

TOP

Related Classes of org.onebusaway.transit_data_federation.bundle.tasks.transfer_pattern.graph.TPOfflineTransferVertex$BoardEdge

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.