Alexandria 2.31.4
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Euclid::SOM::SamplingPolicy::Jackknife< IterType > Class Template Referencefinal

#include <SamplingPolicy.h>

Inheritance diagram for Euclid::SOM::SamplingPolicy::Jackknife< IterType >:
Collaboration diagram for Euclid::SOM::SamplingPolicy::Jackknife< IterType >:

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 m_current, m_iter_list, and m_sample_size.

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

Implements Euclid::SOM::SamplingPolicy::Interface< IterType >.

Definition at line 94 of file SamplingPolicy.h.

References std::advance(), m_current, m_end, m_iter_list, m_iter_list_size, and m_sample_size.

Here is the call graph for this function:

Member Data Documentation

◆ m_current

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

Definition at line 141 of file SamplingPolicy.h.

Referenced by Jackknife(), next(), and start().

◆ m_end

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

Definition at line 140 of file SamplingPolicy.h.

Referenced by next(), and start().

◆ m_iter_list

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

Definition at line 138 of file SamplingPolicy.h.

Referenced by Jackknife(), next(), and start().

◆ m_iter_list_size

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

Definition at line 139 of file SamplingPolicy.h.

Referenced by next(), and start().

◆ m_sample_size

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

Definition at line 137 of file SamplingPolicy.h.

Referenced by Jackknife(), and start().


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