org.onebusaway.transit_data_federation.services.beans
Interface ItinerariesBeanService
- All Known Implementing Classes:
- ItinerariesBeanServiceImpl
public interface ItinerariesBeanService
Method Summary |
ItinerariesBean |
getItinerariesBetween(TransitLocationBean from,
TransitLocationBean to,
long targetTime,
ConstraintsBean constraints)
|
List<TimedPlaceBean> |
getLocalPaths(ConstraintsBean constraints,
MinTravelTimeToStopsBean travelTimes,
List<LocalSearchResult> localResults)
Given a set of stops with min-travel time already determined, and a set of
nearby places, complete the best plan calculation for each by looking for
valid walking paths from stops to places and keeping the shortest paths. |
MinTravelTimeToStopsBean |
getMinTravelTimeToStopsFrom(CoordinatePoint location,
long time,
TransitShedConstraintsBean constraints)
|
ListBean<VertexBean> |
getStreetGraphForRegion(double latFrom,
double lonFrom,
double latTo,
double lonTo)
|
getItinerariesBetween
ItinerariesBean getItinerariesBetween(TransitLocationBean from,
TransitLocationBean to,
long targetTime,
ConstraintsBean constraints)
throws ServiceException
- Parameters:
from
- to
- targetTime
- TODOconstraints
-
- Returns:
- a list of trip plans computed between the two locations with the
specified constraints
- Throws:
ServiceException
getStreetGraphForRegion
ListBean<VertexBean> getStreetGraphForRegion(double latFrom,
double lonFrom,
double latTo,
double lonTo)
getMinTravelTimeToStopsFrom
MinTravelTimeToStopsBean getMinTravelTimeToStopsFrom(CoordinatePoint location,
long time,
TransitShedConstraintsBean constraints)
getLocalPaths
List<TimedPlaceBean> getLocalPaths(ConstraintsBean constraints,
MinTravelTimeToStopsBean travelTimes,
List<LocalSearchResult> localResults)
throws ServiceException
- Given a set of stops with min-travel time already determined, and a set of
nearby places, complete the best plan calculation for each by looking for
valid walking paths from stops to places and keeping the shortest paths.
- Parameters:
constraints
- travelTimes
- localResults
-
- Returns:
-
- Throws:
ServiceException
Copyright © 2012 OneBusAway. All Rights Reserved.