#include <SearchArray.hxx>
Public Member Functions | |
SearchArray () | |
SearchArray (const Array< T > &array) | |
~SearchArray () | |
void | Set (const Array< T > &array) |
TIndex | Find (const T &value, TIndex prevIndex=0) const |
TIndex | Hunt (const T &value, TIndex prevIndex=0) const |
TIndex | Bisection (const T &value) const |
TIndex | Bisection (const T &value, TIndex lowerLimit) const |
TIndex | Bisection (const T &value, TIndex lowerLimit, TIndex upperLimit) const |
Definition at line 31 of file SearchArray.hxx.
CLAM::SearchArray< T >::SearchArray | ( | ) | [inline] |
Definition at line 37 of file SearchArray.hxx.
CLAM::SearchArray< T >::SearchArray | ( | const Array< T > & | array | ) | [inline] |
Definition at line 41 of file SearchArray.hxx.
CLAM::SearchArray< T >::~SearchArray | ( | ) | [inline] |
Definition at line 46 of file SearchArray.hxx.
TIndex CLAM::SearchArray< T >::Bisection | ( | const T & | value, | |
TIndex | lowerLimit, | |||
TIndex | upperLimit | |||
) | const [inline] |
Definition at line 136 of file SearchArray.hxx.
TIndex CLAM::SearchArray< T >::Bisection | ( | const T & | value, | |
TIndex | lowerLimit | |||
) | const [inline] |
Definition at line 65 of file SearchArray.hxx.
TIndex CLAM::SearchArray< T >::Bisection | ( | const T & | value | ) | const [inline] |
Definition at line 60 of file SearchArray.hxx.
Referenced by CLAM::SearchArray< PointTmpl< TX, TY > >::Bisection(), and CLAM::SearchArray< T >::Hunt().
TIndex CLAM::SearchArray< T >::Find | ( | const T & | value, | |
TIndex | prevIndex = 0 | |||
) | const [inline] |
Definition at line 54 of file SearchArray.hxx.
Referenced by CLAM::BPFTmpl< TX, TY >::GetPosition(), and CLAM::BPFTmpl< TX, TY >::Insert().
TIndex CLAM::SearchArray< T >::Hunt | ( | const T & | value, | |
TIndex | prevIndex = 0 | |||
) | const [inline] |
Definition at line 74 of file SearchArray.hxx.
References CLAM::SearchArray< T >::Bisection().
Referenced by CLAM::SearchArray< PointTmpl< TX, TY > >::Find().
void CLAM::SearchArray< T >::Set | ( | const Array< T > & | array | ) | [inline] |
Definition at line 50 of file SearchArray.hxx.
Referenced by CLAM::BPFTmpl< TX, TY >::BPFTmpl(), CLAM::BPFTmpl< TX, TY >::operator=(), and CLAM::SearchArray< PointTmpl< TX, TY > >::SearchArray().