Alexandria  2.27.0
SDC-CH common library for the Euclid project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Euclid::SOM::SamplingPolicy::Bootstrap< IterType > Class Template Referencefinal

#include <SamplingPolicy.h>

Inheritance diagram for Euclid::SOM::SamplingPolicy::Bootstrap< IterType >:
Inheritance graph
[legend]
Collaboration diagram for Euclid::SOM::SamplingPolicy::Bootstrap< IterType >:
Collaboration graph
[legend]

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
 

Detailed Description

template<typename IterType>
class Euclid::SOM::SamplingPolicy::Bootstrap< IterType >

Definition at line 59 of file SamplingPolicy.h.

Constructor & Destructor Documentation

template<typename IterType >
Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::Bootstrap ( IterType  begin,
IterType  end 
)
inline

Definition at line 62 of file SamplingPolicy.h.

References std::distance().

Here is the call graph for this function:

Member Function Documentation

template<typename IterType >
IterType Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::next ( IterType  ) const
inlineoverridevirtual
template<typename IterType >
IterType Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::start ( IterType  begin,
IterType  end 
) const
inlineoverridevirtual

Member Data Documentation

template<typename IterType >
std::uniform_int_distribution Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::m_dist
mutableprivate
template<typename IterType >
IterType Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::m_end
private
template<typename IterType >
std::mt19937 Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::m_gen {std::random_device{}()}
mutableprivate

The documentation for this class was generated from the following file: