11template <
typename Index,
typename DataPo
int>
15 using Scalar =
typename DataPoint::Scalar;
24 {
return m_iterator != other.m_iterator;}
25 inline void operator ++() {++m_iterator;}
26 inline Index operator * ()
const {
return m_iterator->index;}
27 inline void operator +=(
int i) {m_iterator += i;}
The limited_priority_queue class is similar to std::priority_queue but has a limited capacity and han...
This Source Code Form is subject to the terms of the Mozilla Public License, v.