Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
lfeat::Sieve< _Key, _Compare > Class Template Reference

#include <Sieve.h>

Public Member Functions

 Sieve (int iWidth, int iHeight, int iLength)
 
void insert (_Key &iElem, int iWidth, int iHeight)
 
void extract (SieveExtractor< _Key > &iEx)
 

Private Attributes

std::vector< lfeat::bounded_set< _Key, _Compare > > _buckets
 
int _width
 
int _height
 

Detailed Description

template<typename _Key, typename _Compare = std::less<_Key>>
class lfeat::Sieve< _Key, _Compare >

Definition at line 37 of file Sieve.h.

Constructor & Destructor Documentation

◆ Sieve()

lfeat::Sieve< _Key, _Compare >::Sieve ( int  iWidth,
int  iHeight,
int  iLength 
)

Definition at line 55 of file Sieve.h.

References lfeat::Sieve< _Key, _Compare >::_buckets, and threshold().

Member Function Documentation

◆ extract()

void lfeat::Sieve< _Key, _Compare >::extract ( SieveExtractor< _Key > &  iEx)

Definition at line 75 of file Sieve.h.

References threshold().

◆ insert()

void lfeat::Sieve< _Key, _Compare >::insert ( _Key iElem,
int  iWidth,
int  iHeight 
)

Definition at line 69 of file Sieve.h.

References threshold().

Member Data Documentation

◆ _buckets

template<typename _Key , typename _Compare = std::less<_Key>>
std::vector<lfeat::bounded_set< _Key, _Compare > > lfeat::Sieve< _Key, _Compare >::_buckets
private

Definition at line 48 of file Sieve.h.

Referenced by lfeat::Sieve< _Key, _Compare >::Sieve().

◆ _height

template<typename _Key , typename _Compare = std::less<_Key>>
int lfeat::Sieve< _Key, _Compare >::_height
private

Definition at line 49 of file Sieve.h.

◆ _width

template<typename _Key , typename _Compare = std::less<_Key>>
int lfeat::Sieve< _Key, _Compare >::_width
private

Definition at line 49 of file Sieve.h.


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