core: (fixes #444) Remove Pareto::Mean attribute

This commit is contained in:
Tommaso Pecorella
2021-08-30 20:57:24 +00:00
parent b529897c6c
commit 73a14518e7
2 changed files with 0 additions and 10 deletions

View File

@@ -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

View File

@@ -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;