org.onebusaway.transit_data_federation.services.transit_graph
Interface StopTimeEntry

All Known Implementing Classes:
StopTimeEntryImpl

public interface StopTimeEntry


Method Summary
 int getAccumulatedSlackTime()
          The amount of accumulated slack time from the start of the trip to the arrival time at this stop.
 int getArrivalTime()
           
 int getDepartureTime()
           
 int getDropOffType()
           
 int getId()
           
 int getPickupType()
           
 int getSequence()
           
 double getShapeDistTraveled()
           
 int getShapePointIndex()
          The index into the list of shape points for this stop time's trip, for the shape point that comes right before this stops location along the shape.
 int getSlackTime()
          The amount of slack time at the current stop time.
 StopEntry getStop()
           
 TripEntry getTrip()
           
 

Method Detail

getId

int getId()

getTrip

TripEntry getTrip()

getSequence

int getSequence()

getStop

StopEntry getStop()

getArrivalTime

int getArrivalTime()
Returns:
arrival time, in seconds since midnight

getDepartureTime

int getDepartureTime()
Returns:
departure time, in seconds since midnight

getPickupType

int getPickupType()

getDropOffType

int getDropOffType()

getShapePointIndex

int getShapePointIndex()
The index into the list of shape points for this stop time's trip, for the shape point that comes right before this stops location along the shape. If no shape information is available, this index will be -1.

Returns:
the index for the preceding shape point, or -1 if no shape info

getShapeDistTraveled

double getShapeDistTraveled()

getSlackTime

int getSlackTime()
The amount of slack time at the current stop time. Slack time usually results from a delay between the arrival and departure time at a given stop that could be shortened if the vehicle is running late.

Returns:
slack time, in seconds

getAccumulatedSlackTime

int getAccumulatedSlackTime()
The amount of accumulated slack time from the start of the trip 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


Copyright © 2012 OneBusAway. All Rights Reserved.