org.onebusaway.transit_data_federation.model.tripplanner
Class TripStats

java.lang.Object
  extended by org.onebusaway.transit_data_federation.model.tripplanner.TripStats
Direct Known Subclasses:
TripStateStats

public class TripStats
extends Object


Constructor Summary
TripStats(double walkingVelocity)
           
TripStats(TripStats stats)
           
 
Method Summary
 long getFirstWalkDuration()
           
 long getInitialSlackTime()
           
 long getInitialWaitingTime()
           
 double getMaxSingleWalkDistance()
           
 double getScore()
           
 double getTotalWalkingDistance()
           
 long getTransferWaitingTime()
           
 long getTripDuration()
           
 int getVehicleCount()
           
 long getVehicleTime()
           
 double getWalkingVelocity()
           
 void incrementInitialSlackTime(long time)
           
 void incrementInitialWaitingTime(long time)
           
 void incrementTotalWalkingDistance(double distance)
          This method also updates getMaxSingleWalkDistance()
 void incrementTransferWaitingTime(long time)
           
 void incrementVehicleCount()
           
 void incrementVehicleTime(long time)
           
 void setFirstWalkDuration(long firstWalkDuration)
           
 void setInitialSlackTime(long initialSlackTime)
           
 void setInitialWaitingTime(long initialWaitingTime)
           
 void setMaxSingleWalkDistance(double maxSingleWalkDistance)
           
 void setScore(double score)
           
 void setTotalWalkingDistance(double totalWalkingDistance)
           
 void setTransferWaitingTime(long transferWaitingTime)
           
 void setVehicleCount(int vehicleCount)
           
 void setVehicleTime(long vehicleTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TripStats

public TripStats(double walkingVelocity)

TripStats

public TripStats(TripStats stats)
Method Detail

getWalkingVelocity

public double getWalkingVelocity()

getVehicleCount

public int getVehicleCount()

setVehicleCount

public void setVehicleCount(int vehicleCount)

incrementVehicleCount

public void incrementVehicleCount()

getTotalWalkingDistance

public double getTotalWalkingDistance()

setTotalWalkingDistance

public void setTotalWalkingDistance(double totalWalkingDistance)

incrementTotalWalkingDistance

public void incrementTotalWalkingDistance(double distance)
This method also updates getMaxSingleWalkDistance()

Parameters:
distance -

getMaxSingleWalkDistance

public double getMaxSingleWalkDistance()

setMaxSingleWalkDistance

public void setMaxSingleWalkDistance(double maxSingleWalkDistance)

getFirstWalkDuration

public long getFirstWalkDuration()

setFirstWalkDuration

public void setFirstWalkDuration(long firstWalkDuration)

getInitialSlackTime

public long getInitialSlackTime()

setInitialSlackTime

public void setInitialSlackTime(long initialSlackTime)

incrementInitialSlackTime

public void incrementInitialSlackTime(long time)

getInitialWaitingTime

public long getInitialWaitingTime()

setInitialWaitingTime

public void setInitialWaitingTime(long initialWaitingTime)

incrementInitialWaitingTime

public void incrementInitialWaitingTime(long time)

getTransferWaitingTime

public long getTransferWaitingTime()

setTransferWaitingTime

public void setTransferWaitingTime(long transferWaitingTime)

incrementTransferWaitingTime

public void incrementTransferWaitingTime(long time)

getVehicleTime

public long getVehicleTime()

setVehicleTime

public void setVehicleTime(long vehicleTime)

incrementVehicleTime

public void incrementVehicleTime(long time)

getTripDuration

public long getTripDuration()

getScore

public double getScore()

setScore

public void setScore(double score)


Copyright © 2011 OneBusAway. All Rights Reserved.