SweepQueue
SweepQueue is a data structure designed to manage and process events in a sweep line algorithm.
It maintains a priority queue to handle events based on their keys, and a set to track currently active elements.
Parameters
T
The type of the values stored in the events processed by this queue.