Bugzilla – Bug 1123
Class MinMaxAvgTotalCalculator does not implement all the methods in its interface
Last modified: 2011-06-08 14:55:20 UTC
Class MinMaxAvgTotalCalculator only implements the min max and the average calculations, the other ones (standard deviation, sum, squared sum and variance) are not supported.
Created attachment 1104 [details] Patch with the implementation of the unsupported methods
Negative variance values caused by roundoff can occur if you use standard formulas for the variance found in statistics text books. Therefore, I calculated the variance based on equations (15) and (16) on page 216 of "The Art of Computer Programming, Volume 2", Second Edition. Donald E. Knuth. Addison-Wesley Publishing Company, 1973.
Bug closed. ns-3-dev changeset: 4f64f4298183