9#include "../../indexSquaredDistance.h"
29 template <
typename ContainerPtr,
typename Index>
33 using iterator_category = std::input_iterator_tag;
34 using difference_type = std::ptrdiff_t;
35 using value_type = Index;
37 using reference =
const Index&;
58 PONCA_MULTIARCH reference
operator*()
const {
return m_data[m_i]; }
69 PONCA_MULTIARCH
inline void operator+=(
const Index
i) { m_i +=
i; }
Aggregator class used to declare specialized structures using CRTP.
Input iterator to read the KnnGraphKNearestQueryBase object.
void operator+=(const Index i)
Value increment.
KnnGraphKNearestIterator & operator++()
Equality operand.
Self operator+(const Index i)
Plus operator.
Self operator++(Index)
Postfix increment.
reference operator*() const
Dereference operator.
bool operator!=(const KnnGraphKNearestIterator &other) const
Inequality operand.
bool operator==(const KnnGraphKNearestIterator &other) const
Equality operand.
This Source Code Form is subject to the terms of the Mozilla Public License, v.