The ns-3 Network Simulator Project
Check EmpiricalRandomVariable patch, document
Read the bug report referenced. Don't get distracted but the statistics discussion and acronyms, this is actually a straightforward task.
- Check that the patch from the bug report applies cleanly to the current code.
- Edit the patch as suggested, to leave the Interpolate function in place, but not use it in the GetValue function.
- Revise the documentation to state that this doesn't interpolate; it treats the CDF as a stepwise constant function.
Bonus work:
- Rename Interpolate to DoInterpolate
- Declare and implement a new public function
virtual double Interpolate (double r)
. For implementation, look at what is done currently inGetValue()
, and use that to find the correct values to call DoInterpolate with.
Task tags
Students who completed this task
InquisitivePenguin, SaiMyGuy, hax0kartik