AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
rng_options.h
1#ifndef UTILS_RNG_OPTIONS_H
2#define UTILS_RNG_OPTIONS_H
3
4#include <memory>
5
6namespace utils {
7
8class RandomNumberGenerator;
9
10/*
11 Return an RNG for the given seed, which can either be the global
12 RNG or a local one with a user-specified seed. Only use this together
13 with "add_rng_options_to_feature()".
14*/
15extern std::shared_ptr<RandomNumberGenerator> get_rng(int seed);
16
17} // namespace utils
18
19#endif