def __init__(self, bubbles: Sequence[SSBubble], road_network: SumoRoadNetwork): self._log = logging.getLogger(self.__class__.__name__) self._cursors = [] self._last_vehicle_index = VehicleIndex.identity() self._bubbles = [Bubble(b, road_network) for b in bubbles]
def __init__(self, bubbles: Sequence[SSBubble], road_map: RoadMap): self._log = logging.getLogger(self.__class__.__name__) self._cursors = set() self._last_vehicle_index = VehicleIndex.identity() self._bubbles = [Bubble(b, road_map) for b in bubbles]