#include <pydtn/HeavyTailTimeDist.h>


Public Member Functions | |
| HeavyTailTimeDist (double alpha) | |
| Constructor. | |
| virtual | ~HeavyTailTimeDist () |
| Virtual destructor. | |
| Time | operator() (const Time &t) |
| Functional operator. | |
The new time is Zipf-distributed from the previous.
Definition at line 43 of file HeavyTailTimeDist.h.
| HeavyTailTimeDist::HeavyTailTimeDist | ( | double | alpha | ) |
Constructor.
| alpha | The heavy-tail exponent |
Definition at line 36 of file HeavyTailTimeDist.cc.
Functional operator.
| t | The last time generated in the distribution |
Implements TimeDistribution.
Definition at line 42 of file HeavyTailTimeDist.cc.
References Time::MILLION, and prng().
1.5.4