56 virtual std::string
toStr(std::streamsize accuracy)
const = 0;
virtual std::string toStr(std::streamsize accuracy) const =0
Returns the string representation of this distribution.
virtual ~Distribution()
Destructor.
virtual double getMax() const =0
Returns the maximum value of this distribution.
virtual double sample(SumoRNG *which=0) const =0
Draw a sample of the distribution.
Distribution(const std::string &id)
Constructor.
Base class for objects which have an id.