The ns-3 Network Simulator Project
Improve priority_queue scheduler patch
In the referenced bug Alexander suggests a couple of changes. This task is to partially adopt one of his changes: implement a Scheduler based on priority_queue, but maintain support for Remove.
- Apply these two patches. It won't build yet.
- Create an inner class PriorityQueueScheduler::PriorityQueue to implement remove, as sketched in this SO post
- Use your new inner class instead of the plain priority_queue, and implement Remove() as required by the Scheduler base class.
- Now check that ns-3 still builds and all tests pass.
Task tags
Students who completed this task
ra1nst0rm3d