Opened 8 years ago
Last modified 3 years ago
#858 reopened discussion
A proxy class between std random distributions and GSL RNG
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | yat 0.x+ |
Component: | random | Version: | |
Keywords: | Cc: |
Description
Boost provides many classes for random number distributions and they are flexible so users can pass their random number generator. I would like to use the singleton in yat::random
and to do that I need a proxy class that uses yat::random::RNG and that behaves as a
UniformRandomNumberGenerator. yat::random::DiscreteUniform
is a candidate with some extensions or we need a new class solely for this purpose.
Change History (11)
comment:1 Changed 4 years ago by
comment:2 follow-up: 4 Changed 4 years ago by
Would be nice if the proxy works against random distribution classes in std <random> (c++11)
comment:3 Changed 4 years ago by
Milestone: | yat 0.x+ → yat 0.18 |
---|---|
Owner: | changed from Jari Häkkinen to Peter |
Status: | new → accepted |
comment:4 Changed 4 years ago by
Replying to Peter:
Would be nice if the proxy works against random distribution classes in std <random> (c++11)
correct url: http://www.cplusplus.com/reference/random/
comment:7 Changed 3 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Since we require c++11 now (ticket #949), I suggest we replace this implementation against boost with an implementation against std (before this gets released). Also, means we can get rid of the configure checks for related boost headers with certain distribution as well as merging those tests back to one test file (ticket #944)
comment:8 Changed 3 years ago by
Summary: | A proxy class between boost::random and GSL RNG → A proxy class between std random distributions and GSL RNG |
---|
comment:11 Changed 3 years ago by
Milestone: | yat 0.18 → yat 0.x+ |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Type: | request → discussion |
Keep this open as an idea.
ticket #869 was marked related