ShortestQueueRouter

constructor(stations: List<Station>, comparator: Comparator<Station> = StationWIPComparator())(source)

Parameters

stations

the candidate stations, which must be non-empty

comparator

the ordering used to pick the "smallest" station