Class CalendarSimplicationLibrary
java.lang.Object
org.onebusaway.gtfs_transformer.updates.CalendarSimplicationLibrary
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeSimplifiedCalendar(AgencyAndId updatedServiceId, CalendarSimplicationLibrary.ServiceCalendarSummary summary, List<Object> newEntities) doubleintgetSummaryForServiceDates(Set<ServiceDate> allServiceDates) Map<Set<AgencyAndId>, List<org.onebusaway.gtfs_transformer.updates.TripKey>> groupTripKeysByServiceIds(Map<org.onebusaway.gtfs_transformer.updates.TripKey, List<Trip>> tripsByKey) voidsetDayOfTheWeekInclusionRatio(double dayOfTheWeekInclusionRatio) voidsetMinNumberOfWeeksForCalendarEntry(int minNumberOfWeeksForCalendarEntry)
-
Constructor Details
-
CalendarSimplicationLibrary
public CalendarSimplicationLibrary()
-
-
Method Details
-
setMinNumberOfWeeksForCalendarEntry
public void setMinNumberOfWeeksForCalendarEntry(int minNumberOfWeeksForCalendarEntry) -
getMinNumberOfWeeksForCalendarEntry
public int getMinNumberOfWeeksForCalendarEntry() -
setDayOfTheWeekInclusionRatio
public void setDayOfTheWeekInclusionRatio(double dayOfTheWeekInclusionRatio) -
getDayOfTheWeekInclusionRatio
public double getDayOfTheWeekInclusionRatio() -
groupTripKeysByServiceIds
-
computeSimplifiedCalendar
public void computeSimplifiedCalendar(AgencyAndId updatedServiceId, CalendarSimplicationLibrary.ServiceCalendarSummary summary, List<Object> newEntities) -
getSummaryForServiceDates
public CalendarSimplicationLibrary.ServiceCalendarSummary getSummaryForServiceDates(Set<ServiceDate> allServiceDates)
-