#include <FKDTree.h>
Public Member Functions | |
void | build (std::vector< FKDPoint< TYPE, numberOfDimensions > > &points) |
bool | empty () |
FKDTree () | |
void | search (const FKDPoint< TYPE, numberOfDimensions > &minPoint, const FKDPoint< TYPE, numberOfDimensions > &maxPoint, std::vector< unsigned int > &foundPoints) |
std::size_t | size () const |
Private Member Functions | |
void | add_at_position (const FKDPoint< TYPE, numberOfDimensions > &point, const unsigned int position) |
void | add_at_position (FKDPoint< TYPE, numberOfDimensions > &&point, const unsigned int position) |
bool | intersects (unsigned int index, const FKDPoint< TYPE, numberOfDimensions > &minPoint, const FKDPoint< TYPE, numberOfDimensions > &maxPoint, int dimension) const |
bool | is_in_the_box (unsigned int index, const FKDPoint< TYPE, numberOfDimensions > &minPoint, const FKDPoint< TYPE, numberOfDimensions > &maxPoint) const |
unsigned int | leftSonIndex (unsigned int index) const |
unsigned int | partition_complete_kdtree (unsigned int length) |
unsigned int | rightSonIndex (unsigned int index) const |
Private Attributes | |
unsigned int | theDepth |
std::array< std::vector< TYPE >, numberOfDimensions > | theDimensions |
std::vector< unsigned int > | theIds |
std::vector< unsigned int > | theIntervalLength |
std::vector< unsigned int > | theIntervalMin |
unsigned int | theNumberOfPoints |
|
inline |
Definition at line 43 of file FKDTree.h.
References FKDTree< TYPE, numberOfDimensions >::theDepth, and FKDTree< TYPE, numberOfDimensions >::theNumberOfPoints.
|
inlineprivate |
Definition at line 273 of file FKDTree.h.
References FKDPoint< TYPE, numberOfDimensions >::getId(), mps_fire::i, position, FKDTree< TYPE, numberOfDimensions >::theDimensions, and FKDTree< TYPE, numberOfDimensions >::theIds.
Referenced by FKDTree< TYPE, numberOfDimensions >::build().
|
inlineprivate |
Definition at line 281 of file FKDTree.h.
References mps_fire::i, point, position, FKDTree< TYPE, numberOfDimensions >::theDimensions, and FKDTree< TYPE, numberOfDimensions >::theIds.
|
inline |
Definition at line 133 of file FKDTree.h.
References a, FKDTree< TYPE, numberOfDimensions >::add_at_position(), b, egammaForCoreTracking_cff::depth, pat::helper::ParametrizationHelper::dimension(), mps_fire::i, CMSBoostedTauSeedingParameters_cfi::maxDepth, FKDTree< TYPE, numberOfDimensions >::partition_complete_kdtree(), hiPixelPairStep_cff::points, FKDTree< TYPE, numberOfDimensions >::theDepth, FKDTree< TYPE, numberOfDimensions >::theDimensions, FKDTree< TYPE, numberOfDimensions >::theIds, FKDTree< TYPE, numberOfDimensions >::theIntervalLength, FKDTree< TYPE, numberOfDimensions >::theIntervalMin, and FKDTree< TYPE, numberOfDimensions >::theNumberOfPoints.
Referenced by psClasses.BuildThread::run().
|
inline |
Definition at line 49 of file FKDTree.h.
References FKDTree< TYPE, numberOfDimensions >::theNumberOfPoints.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inlineprivate |
Definition at line 252 of file FKDTree.h.
References FKDTree< TYPE, numberOfDimensions >::theDimensions.
Referenced by FKDTree< TYPE, numberOfDimensions >::search().
|
inlineprivate |
Definition at line 260 of file FKDTree.h.
References mps_fire::i, and FKDTree< TYPE, numberOfDimensions >::theDimensions.
Referenced by FKDTree< TYPE, numberOfDimensions >::search().
|
inlineprivate |
Definition at line 241 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::search().
|
inlineprivate |
Definition at line 228 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::build().
|
inlineprivate |
|
inline |
Definition at line 60 of file FKDTree.h.
References egammaForCoreTracking_cff::depth, pat::helper::ParametrizationHelper::dimension(), reco::helper::VirtualJetProducerHelper::intersection(), FKDTree< TYPE, numberOfDimensions >::intersects(), FKDTree< TYPE, numberOfDimensions >::is_in_the_box(), FKDTree< TYPE, numberOfDimensions >::leftSonIndex(), min(), FQueue< T >::pop_front(), FQueue< T >::push_back(), FQueue< T >::size(), FKDTree< TYPE, numberOfDimensions >::theDepth, FKDTree< TYPE, numberOfDimensions >::theDimensions, FKDTree< TYPE, numberOfDimensions >::theIds, and FKDTree< TYPE, numberOfDimensions >::theNumberOfPoints.
Referenced by BeautifulSoup.SoupStrainer::search().
|
inline |
Definition at line 212 of file FKDTree.h.
References FKDTree< TYPE, numberOfDimensions >::theNumberOfPoints.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 290 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::build(), FKDTree< TYPE, numberOfDimensions >::FKDTree(), and FKDTree< TYPE, numberOfDimensions >::search().
|
private |
Definition at line 293 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::add_at_position(), FKDTree< TYPE, numberOfDimensions >::build(), FKDTree< TYPE, numberOfDimensions >::intersects(), FKDTree< TYPE, numberOfDimensions >::is_in_the_box(), and FKDTree< TYPE, numberOfDimensions >::search().
|
private |
Definition at line 296 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::add_at_position(), FKDTree< TYPE, numberOfDimensions >::build(), and FKDTree< TYPE, numberOfDimensions >::search().
|
private |
Definition at line 294 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::build().
|
private |
Definition at line 295 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::build().
|
private |