org.onebusaway.transit_data_federation.services.transit_graph
Interface BlockStopTimeEntry

All Known Implementing Classes:
BlockStopTimeEntryImpl

public interface BlockStopTimeEntry


Method Summary
 int getAccumulatedSlackTime()
          The amount of accumulated slack time from the start of the block to the arrival time at this stop.
 int getBlockSequence()
           
 double getDistanceAlongBlock()
           
 BlockStopTimeEntry getNextStop()
           
 StopTimeEntry getStopTime()
           
 BlockTripEntry getTrip()
           
 boolean hasNextStop()
           
 boolean hasPreviousStop()
           
 

Method Detail

getStopTime

StopTimeEntry getStopTime()

getTrip

BlockTripEntry getTrip()

getBlockSequence

int getBlockSequence()

getDistanceAlongBlock

double getDistanceAlongBlock()
Returns:
distance, in meters, from the start of the block

getAccumulatedSlackTime

int getAccumulatedSlackTime()
The amount of accumulated slack time from the start of the block to the arrival time at this stop. Slack time accumulates when there is scheduled time between the arrival and departure of a vehicle at a stop that could potentially be shortened if the vehicle is running late.

Returns:
the accumulated slack time, in seconds

hasPreviousStop

boolean hasPreviousStop()

hasNextStop

boolean hasNextStop()

getNextStop

BlockStopTimeEntry getNextStop()


Copyright © 2012 OneBusAway. All Rights Reserved.