Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
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

◆ Bootstrap()

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

Definition at line 62 of file SamplingPolicy.h.

Member Function Documentation

◆ next()

template<typename IterType >
IterType Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::next ( IterType  ) const
inlineoverridevirtual

◆ start()

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

Member Data Documentation

◆ m_dist

template<typename IterType >
std::uniform_int_distribution Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::m_dist
mutableprivate

◆ m_end

template<typename IterType >
IterType Euclid::SOM::SamplingPolicy::Bootstrap< IterType >::m_end
private

◆ m_gen

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: