computeScheduleGroupsFromTransports
fun computeScheduleGroupsFromTransports(transports: List<TransportInfo>, maxGroups: Int): List<ScheduleGroup>
Groups transports by their schedule.
Return
List of ScheduleGroup containing transports with matching schedules.
Parameters
transports
List of transport info to group.
maxGroups
Maximum number of groups to return.