Bug 817

Summary: Pareto rng constructors using scale and shape instead of mean and shape
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: coreAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
URL: http://codereview.appspot.com/207098/show

Description Tommaso Pecorella 2010-02-15 13:00:38 EST
pareto rng constructors only allows the use of mean and shape, preventing to have a pareto with undefined mean (useful in some cases).

I added such constructors and added a warning in the documentation that making a pareto with a defined mean and shape <= 1 is definitely a bad idea. If an user doesn't read the manual and doesn't know what a pareto distribution is, he deserve a core dump.