14template <
typename Traits>
15class KnnGraphRangeQuery;
31template <
typename Traits>
36 using Index =
typename Traits::IndexType;
40 using iterator_category = PONCA_MULTIARCH_CU_STD_NAMESPACE(input_iterator_tag);
41 using difference_type = std::ptrdiff_t;
42 using value_type = Index;
43 using pointer = Index*;
44 using reference =
const Index&;
51 return m_index != other.m_index;
56 return m_index == other.m_index;
61 m_query->advance(*
this);
70 return const_cast<reference
>(m_index);
75 value_type m_index {-1};
Input iterator to read the KnnGraphRangeQuery object.
bool operator!=(const KnnGraphRangeIterator &other) const
Inequality operand.
KnnGraphRangeIterator & operator++()
Prefix increment.
reference operator*() const
Dereference operator.
void operator++(value_type)
Postfix increment.
bool operator==(const KnnGraphRangeIterator &other) const
Equality operand.
Extension of the Query class that allows to read the result of a range neighbor search on the KnnGrap...
This Source Code Form is subject to the terms of the Mozilla Public License, v.