56 void parse(
const std::string& description,
const bool hardFail);
82 const std::string
isValid()
const;
85 std::string
toStr(std::streamsize accuracy)
const;
void parse(const std::string &description, const bool hardFail)
Overwrite by parsable distribution description.
virtual ~Distribution_Parameterized()
Destructor.
double getMax() const
Returns the maximum value of this distribution.
double getMin() const
Returns the minimum value of this distribution.
double getParameter(const int index) const
Returns the nth parameter of this distribution.
void setParameter(const int index, const double value)
Set a parameter of this distribution.
std::string toStr(std::streamsize accuracy) const
Returns the string representation of this distribution.
static bool isValidDescription(const std::string &description)
validate input description
const std::string isValid() const
check whether the distribution is valid
std::vector< double > myParameter
The distribution's parameters.
double sample(SumoRNG *which=nullptr) const
Draw a sample of the distribution using the given RNG.