The all-in-one class for the Micro dataset. More...
#include <Utils/MicroDataSet.hpp>
Public Member Functions | |
| MicroDataSet () | |
| default construction, with auto random generator | |
| MicroDataSet (uint64_t _seed) | |
| construction with seed More... | |
| template<class dType = uint32_t> | |
| vector< dType > | genIncrementalAlphabet (size_t len) |
| To generate incremental alphabet, starting from 0 and end at len. More... | |
| template<class tsType = size_t> | |
| vector< tsType > | genZipfInt (size_t len, tsType maxV, double fac) |
| The function to generate a vector of integers which has zipf distribution. More... | |
| template<class tsType = uint32_t, class genType = std::mt19937> | |
| vector< tsType > | genRandInt (size_t len, tsType maxV, tsType minV=0) |
| generate the vector of random integer More... | |
| template<class dType = double> | |
| vector< dType > | genZipfLut (size_t len, dType fac) |
| To generate the zipf Lut. More... | |
| template<class tsType = size_t> | |
| vector< tsType > | genSmoothTimeStamp (size_t len, size_t step, size_t interval) |
| The function to generate a vector of timestamp which grows smoothly. More... | |
| template<class tsType = size_t> | |
| vector< tsType > | genZipfTimeStamp (size_t len, tsType maxTime, double fac) |
| The function to generate a vector of timestamp which has zipf distribution. More... | |
The all-in-one class for the Micro dataset.