org.onebusaway.transit_data_federation.impl.otp
Class ItineraryWeightingLibrary

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.otp.ItineraryWeightingLibrary

public class ItineraryWeightingLibrary
extends Object


Constructor Summary
ItineraryWeightingLibrary()
           
 
Method Summary
static int computeTransferTime(StopTransfer transfer, org.opentripplanner.routing.core.TraverseOptions options)
           
static double computeTransferWeight(int transferTime, org.opentripplanner.routing.core.TraverseOptions options)
           
static double computeWeightForWait(org.opentripplanner.routing.core.State state, int dwellTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItineraryWeightingLibrary

public ItineraryWeightingLibrary()
Method Detail

computeWeightForWait

public static double computeWeightForWait(org.opentripplanner.routing.core.State state,
                                          int dwellTime)

computeTransferTime

public static int computeTransferTime(StopTransfer transfer,
                                      org.opentripplanner.routing.core.TraverseOptions options)

computeTransferWeight

public static double computeTransferWeight(int transferTime,
                                           org.opentripplanner.routing.core.TraverseOptions options)


Copyright © 2012 OneBusAway. All Rights Reserved.