core: (fixes #444) Remove Pareto::Mean attribute
This commit is contained in:
@@ -455,12 +455,6 @@ ParetoRandomVariable::GetTypeId (void)
|
||||
.SetParent<RandomVariableStream>()
|
||||
.SetGroupName ("Core")
|
||||
.AddConstructor<ParetoRandomVariable> ()
|
||||
.AddAttribute ("Mean", "The mean parameter for the Pareto distribution returned by this RNG stream.",
|
||||
DoubleValue (0.0),
|
||||
MakeDoubleAccessor (&ParetoRandomVariable::m_mean),
|
||||
MakeDoubleChecker<double>(),
|
||||
TypeId::DEPRECATED,
|
||||
"Not anymore used. Use 'Scale' instead - changing this attribute has no effect.")
|
||||
.AddAttribute ("Scale", "The scale parameter for the Pareto distribution returned by this RNG stream.",
|
||||
DoubleValue (1.0),
|
||||
MakeDoubleAccessor (&ParetoRandomVariable::m_scale),
|
||||
@@ -481,7 +475,6 @@ ParetoRandomVariable::ParetoRandomVariable ()
|
||||
// m_shape, m_shape, and m_bound are initialized after constructor
|
||||
// by attributes
|
||||
NS_LOG_FUNCTION (this);
|
||||
NS_UNUSED (m_mean);
|
||||
}
|
||||
|
||||
double
|
||||
|
||||
@@ -786,9 +786,6 @@ public:
|
||||
virtual uint32_t GetInteger (void);
|
||||
|
||||
private:
|
||||
/** The mean parameter for the Pareto distribution returned by this RNG stream. */
|
||||
double m_mean;
|
||||
|
||||
/** The scale parameter for the Pareto distribution returned by this RNG stream. */
|
||||
double m_scale;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user