LOST
0.0.1
LOST: Open-source Star Tracker
|
A data structure enabling constant-time range queries into fixed numerical data. More...
#include <databases.hpp>
Public Member Functions | |
KVectorIndex (DeserializeContext *des) | |
Construct from serialized buffer. More... | |
long | QueryLiberal (decimal minQueryDistance, decimal maxQueryDistance, long *upperIndex) const |
Finds all the entries in the given range, and possibly a few just outside the range on the ends. More... | |
long | NumValues () const |
The number of data points in the data referred to by the kvector. More... | |
long | NumBins () const |
decimal | Max () const |
Upper bound on elements. More... | |
decimal | Min () const |
A data structure enabling constant-time range queries into fixed numerical data.
Definition at line 23 of file databases.hpp.
|
explicit |
Construct from serialized buffer.
Definition at line 110 of file databases.cpp.
|
inline |
Upper bound on elements.
Definition at line 33 of file databases.hpp.
|
inline |
|
inline |
Definition at line 31 of file databases.hpp.
|
inline |
The number of data points in the data referred to by the kvector.
Definition at line 30 of file databases.hpp.
long lost::KVectorIndex::QueryLiberal | ( | decimal | minQueryDistance, |
decimal | maxQueryDistance, | ||
long * | upperIndex | ||
) | const |
Finds all the entries in the given range, and possibly a few just outside the range on the ends.
upperIndex[out] | Is set to the index of the last returned value +1. |
Definition at line 129 of file databases.cpp.