Skip to content

Release of v1.5.0

Compare
Choose a tag to compare
@jlblancoc jlblancoc released this 15 Jun 22:56
· 55 commits to master since this release
f1e47f0

nanoflann 1.5.0: Released Jun 16, 2023

  • API changes:
    • Users of radius search should change their result placeholder type:
      std::vector<std::pair<IndexType, DistanceType>> => std::vector<nanoflann::ResultItem<IndexType, DistanceType>>. (See #166 for the motivation of this change).
    • More concise auxiliary (internal) type name:
      array_or_vector_selector -> array_or_vector.
    • Remove obsolete parameter nChecks_IGNORED. Removed from SearchParams
      constructor too, so that structure has been renamed SearchParameters to
      enforce users to update the code and avoid mistakes with the order of its
      ctor parameters.
    • Added method RadiusResultSet::empty()
    • Template argument rename: AccesorType => IndexType (does not actually affect user code at all).
    • Added concurrent tree building support, refer to KDTreeSingleIndexAdaptorParams::n_thread_build.
  • Other changes:
    • Macros to avoid conflicts with X11 symbols.
    • Inline an auxiliary example function in case users want to use it and
      include the file in multiple translation units (Closes #182).
    • Move all benchmarking code, data, and scripts to its own repository to keep this repo as clean as possible.
    • Fix "potentially uninitialized" GCC warning.
    • Clarified, even more, in docs and examples, that L2 distances are squared distances.
    • Removed the (with modern compilers) now useless inline keyword in class members.
    • Add examples with GUI (requires mrpt-gui):
      • nanoflann_gui_example_R3: Radius search on R³ Euclidean space.
      • nanoflann_gui_example_bearings: NN search on non-Euclidean spaces.
  • BUGFIXES:
    • Avoid segfault if saving an empty index (Closes #205).