 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef Distribution_Points_h
18 #define Distribution_Points_h
55 double sample(std::mt19937* which = 0)
const {
63 std::string
toStr(std::streamsize accuracy)
const;
std::string toStr(std::streamsize accuracy) const
Returns the string representation of this distribution.
double get(std::mt19937 *which=0) const
Draw a sample of the distribution.
double getMax() const
Returns the maximum value of this distribution.
Represents a generic random distribution.
virtual ~Distribution_Points()
Destructor.
Distribution_Points(const std::string &id)
Constructor.
double sample(std::mt19937 *which=0) const
Draw a sample of the distribution.