Expand description
Priority queue implementation for agent scheduling.
Uses a BinaryHeap for O(log n) push/pop with a HashMap for O(1) membership checks. The index tracks presence only — not heap positions, which are unstable across operations.
Structs§
- Priority
Queue - Priority queue for scheduled tasks.
Traits§
- HasAgent
Id - Trait for items that have an agent ID.