|
Hugintrunk
0.1
|
#include <BoundedSet.h>
Public Types | |
| typedef std::set< _Key, _Compare >::iterator | iterator |
Public Member Functions | |
| bounded_set () | |
| bounded_set (size_t iMaxSize) | |
| void | setMaxSize (int iMax) |
| sets the max size of bounded set More... | |
| size_t | max_size () const |
| Returns the maximum size of the bounded_set. More... | |
| size_t | size () const |
| Returns the size of the limited_multiset. More... | |
| iterator | begin () |
| iterator | end () |
| void | truncate () |
| void | insert (const _Key &x) |
| std::set< _Key, _Compare > & | getSet () |
Private Attributes | |
| size_t | _maxSize |
| std::set< _Key, _Compare > | _set |
Definition at line 43 of file BoundedSet.h.
| typedef std::set<_Key, _Compare>::iterator lfeat::bounded_set< _Key, _Compare >::iterator |
Definition at line 50 of file BoundedSet.h.
|
inline |
Definition at line 53 of file BoundedSet.h.
|
inline |
Definition at line 55 of file BoundedSet.h.
|
inline |
Definition at line 75 of file BoundedSet.h.
References lfeat::bounded_set< _Key, _Compare >::_set.
Referenced by KDTreeSpace::KDTree< KE, VTYPE >::recurseNearestNeighboursBBF().
|
inline |
Definition at line 80 of file BoundedSet.h.
References lfeat::bounded_set< _Key, _Compare >::_set.
|
inline |
Definition at line 106 of file BoundedSet.h.
References lfeat::bounded_set< _Key, _Compare >::_set.
Referenced by KDTreeSpace::KDTree< KE, VTYPE >::getNearestNeighboursBBF().
|
inline |
Definition at line 100 of file BoundedSet.h.
References lfeat::bounded_set< _Key, _Compare >::_set, and lfeat::bounded_set< _Key, _Compare >::truncate().
Referenced by KDTreeSpace::KDTree< KE, VTYPE >::recurseNearestNeighboursBBF().
|
inline |
Returns the maximum size of the bounded_set.
Definition at line 64 of file BoundedSet.h.
References lfeat::bounded_set< _Key, _Compare >::_maxSize.
|
inline |
sets the max size of bounded set
Definition at line 58 of file BoundedSet.h.
References lfeat::bounded_set< _Key, _Compare >::_maxSize.
|
inline |
Returns the size of the limited_multiset.
Definition at line 70 of file BoundedSet.h.
References lfeat::bounded_set< _Key, _Compare >::_set.
Referenced by KDTreeSpace::KDTree< KE, VTYPE >::recurseNearestNeighboursBBF().
|
inline |
Definition at line 90 of file BoundedSet.h.
References lfeat::bounded_set< _Key, _Compare >::_maxSize, and lfeat::bounded_set< _Key, _Compare >::_set.
Referenced by lfeat::bounded_set< _Key, _Compare >::insert().
|
private |
Definition at line 46 of file BoundedSet.h.
Referenced by lfeat::bounded_set< _Key, _Compare >::max_size(), lfeat::bounded_set< _Key, _Compare >::setMaxSize(), and lfeat::bounded_set< _Key, _Compare >::truncate().
|
private |
Definition at line 47 of file BoundedSet.h.
Referenced by lfeat::bounded_set< _Key, _Compare >::begin(), lfeat::bounded_set< _Key, _Compare >::end(), lfeat::bounded_set< _Key, _Compare >::getSet(), lfeat::bounded_set< _Key, _Compare >::insert(), lfeat::bounded_set< _Key, _Compare >::size(), and lfeat::bounded_set< _Key, _Compare >::truncate().
1.8.5