QuISP
Loading...
Searching...
No Matches
RNG.h
Go to the documentation of this file.
1#pragma once
2
3#include <backends/Backends.h>
4#include <omnetpp.h>
5
8 public:
9 RNG(omnetpp::cModule* module) : module(module) {}
10 double doubleRandom() override { return module->dblrand(); }
11
12 private:
13 omnetpp::cModule* module;
14};
15} // namespace quisp::modules::backend::rng
Definition IRandomNumberGenerator.h:4
omnetpp::cModule * module
Definition RNG.h:13
double doubleRandom() override
Definition RNG.h:10
RNG(omnetpp::cModule *module)
Definition RNG.h:9