Alexandria 2.31.0
SDC-CH common library for the Euclid project
|
#include <SamplingPolicy.h>
Public Member Functions | |
Bootstrap (IterType begin, IterType end) | |
IterType | start (IterType begin, IterType end) const override |
IterType | next (IterType) const override |
Private Attributes | |
IterType | m_end |
std::mt19937 | m_gen {std::random_device{}()} |
std::uniform_int_distribution | m_dist |
Definition at line 59 of file SamplingPolicy.h.
|
inline |
Definition at line 62 of file SamplingPolicy.h.
|
inlineoverridevirtual |
Implements Euclid::SOM::SamplingPolicy::Interface< IterType >.
Definition at line 71 of file SamplingPolicy.h.
References Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::m_end.
|
inlineoverridevirtual |
Implements Euclid::SOM::SamplingPolicy::Interface< IterType >.
Definition at line 64 of file SamplingPolicy.h.
References std::advance(), Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::m_dist, and Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::m_gen.
|
mutableprivate |
Definition at line 78 of file SamplingPolicy.h.
Referenced by Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::start().
|
private |
Definition at line 76 of file SamplingPolicy.h.
Referenced by Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::next().
|
mutableprivate |
Definition at line 77 of file SamplingPolicy.h.
Referenced by Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::start().