mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Namespaces | Functions
datagen.hpp File Reference
#include "util/GridSearch.hpp"
#include <random>
#include <type_traits>
#include <utility>
Include dependency graph for datagen.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  m
 

‍mutable namespace


 
namespace  m::datagen
 Utilities to help generate data, e.g.
 

Functions

template<typename T , typename Generator = std::mt19937_64>
std::vector< T > m::datagen::generate_uniform_distinct_numbers (const T min, const T max, const std::size_t count, Generator &&g=Generator())
 Generate count many distinct numbers of type T, chosen uniformly at random from the range [min, max].