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::Jackknife< IterType > Class Template Referencefinal

#include <SamplingPolicy.h>

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

Public Member Functions

 Jackknife (std::size_t sample_size)
 
IterType start (IterType begin, IterType end) const override
 
IterType next (IterType) const override
 

Private Attributes

std::size_t m_sample_size
 
std::vector< IterType > m_iter_list
 
std::size_t m_iter_list_size
 
IterType m_end
 
std::size_t m_current
 

Detailed Description

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

Definition at line 87 of file SamplingPolicy.h.

Constructor & Destructor Documentation

◆ Jackknife()

template<typename IterType >
Euclid::SOM::SamplingPolicy::Jackknife< IterType >::Jackknife ( std::size_t  sample_size)
inlineexplicit

Definition at line 90 of file SamplingPolicy.h.

References Euclid::SOM::SamplingPolicy::Jackknife< IterType >::m_iter_list, and std::vector< T >::reserve().

Here is the call graph for this function:

Member Function Documentation

◆ next()

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

◆ start()

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

Member Data Documentation

◆ m_current

template<typename IterType >
std::size_t Euclid::SOM::SamplingPolicy::Jackknife< IterType >::m_current
mutableprivate

◆ m_end

template<typename IterType >
IterType Euclid::SOM::SamplingPolicy::Jackknife< IterType >::m_end
mutableprivate

◆ m_iter_list

template<typename IterType >
std::vector<IterType> Euclid::SOM::SamplingPolicy::Jackknife< IterType >::m_iter_list
mutableprivate

◆ m_iter_list_size

template<typename IterType >
std::size_t Euclid::SOM::SamplingPolicy::Jackknife< IterType >::m_iter_list_size
mutableprivate

◆ m_sample_size

template<typename IterType >
std::size_t Euclid::SOM::SamplingPolicy::Jackknife< IterType >::m_sample_size
private

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