Naive orthogonal range search class. More...
Public Member Functions | |
void | Compute (const GenMatrix< T > &low_coord_limits, const GenMatrix< T > &high_coord_limits, GenMatrix< bool > *search_results) |
The main computation of naive orthogonal range search. | |
void | Init (const GenMatrix< T > &data) |
Initialize the computation object. | |
NaiveOrthoRangeSearch () | |
Constructor which does not do anything. | |
~NaiveOrthoRangeSearch () | |
Destructor which does not do anything. |
Naive orthogonal range search class.
NaiveOrthoRangeSearch search; search.Init(dataset); search.Compute(low_coord_limits, high_coord_limits); GenMatrix<bool> naive_search_results; // Make sure that the vector is uninitialized before passing. search.get_results(&naive_search_results);
Definition at line 60 of file naive_ortho_range_search.h.
NaiveOrthoRangeSearch< T >::NaiveOrthoRangeSearch | ( | ) | [inline] |
Constructor which does not do anything.
Definition at line 77 of file naive_ortho_range_search.h.
NaiveOrthoRangeSearch< T >::~NaiveOrthoRangeSearch | ( | ) | [inline] |
Destructor which does not do anything.
Definition at line 81 of file naive_ortho_range_search.h.
void NaiveOrthoRangeSearch< T >::Compute | ( | const GenMatrix< T > & | low_coord_limits, | |
const GenMatrix< T > & | high_coord_limits, | |||
GenMatrix< bool > * | search_results | |||
) | [inline] |
The main computation of naive orthogonal range search.
low_coord_limits | The lower coordinate range of the search window. | |
high_coord_limits | The upper coordinate range of the search window. | |
search_results | Stores the search results for each search window. |
Definition at line 102 of file naive_ortho_range_search.h.
References fx_timer_start(), fx_timer_stop(), GenMatrix< T >::get(), GenMatrix< T >::Init(), and GenMatrix< T >::n_cols().
Referenced by main().
void NaiveOrthoRangeSearch< T >::Init | ( | const GenMatrix< T > & | data | ) | [inline] |
Initialize the computation object.
data | The data used for orthogonal range search. |
Definition at line 89 of file naive_ortho_range_search.h.
Referenced by main().