org.onebusaway.transit_data_federation.services.transit_graph
Interface BlockTripEntry

All Superinterfaces:
HasBlockStopTimes
All Known Implementing Classes:
BlockTripEntryImpl

public interface BlockTripEntry
extends HasBlockStopTimes


Method Summary
 int getAccumulatedSlackTime()
          The amount of accumulated slack time from the start of the block to the start of the trip
 short getAccumulatedStopTimeIndex()
           
 int getArrivalTimeForIndex(int index)
          Stop Methods
 BlockConfigurationEntry getBlockConfiguration()
           
 int getDepartureTimeForIndex(int index)
           
 double getDistanceAlongBlock()
           
 double getDistanceAlongBlockForIndex(int blockSequence)
           
 BlockTripEntry getNextTrip()
           
 AbstractBlockTripIndex getPattern()
          Pattern Methods
 BlockTripEntry getPreviousTrip()
           
 short getSequence()
           
 TripEntry getTrip()
           
 
Methods inherited from interface org.onebusaway.transit_data_federation.services.transit_graph.HasBlockStopTimes
getStopTimes
 

Method Detail

getBlockConfiguration

BlockConfigurationEntry getBlockConfiguration()

getTrip

TripEntry getTrip()

getSequence

short getSequence()
Returns:
the position of this trip in the parent trip collection BlockConfigurationEntry.getTrips().

getAccumulatedStopTimeIndex

short getAccumulatedStopTimeIndex()

getAccumulatedSlackTime

int getAccumulatedSlackTime()
The amount of accumulated slack time from the start of the block to the start of the trip

Returns:
accumulated slack time, in seconds

getDistanceAlongBlock

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

getPreviousTrip

BlockTripEntry getPreviousTrip()

getNextTrip

BlockTripEntry getNextTrip()

getArrivalTimeForIndex

int getArrivalTimeForIndex(int index)
Stop Methods


getDepartureTimeForIndex

int getDepartureTimeForIndex(int index)

getDistanceAlongBlockForIndex

double getDistanceAlongBlockForIndex(int blockSequence)

getPattern

AbstractBlockTripIndex getPattern()
Pattern Methods



Copyright © 2012 OneBusAway. All Rights Reserved.