Mercurial > hg > audiodb
annotate pointpair.h @ 541:52d82badc544 multiprobeLSH
Added file caching for sparse datum reads. This required making a new type called adb_fd_cache_t and modifying the read methods audiodb_track_id_datum() and audiodb_insert_create_datum() to use the cache struct if one is provided by the user.
author | mas01mc |
---|---|
date | Sat, 07 Feb 2009 16:59:31 +0000 |
parents | aa715b3e18db |
children |
rev | line source |
---|---|
mas01cr@510 | 1 // should probably be rewritten |
mas01cr@510 | 2 class PointPair { |
mas01cr@510 | 3 public: |
mas01cr@510 | 4 uint32_t trackID; |
mas01cr@510 | 5 uint32_t qpos; |
mas01cr@510 | 6 uint32_t spos; |
mas01cr@510 | 7 PointPair(uint32_t a, uint32_t b, uint32_t c); |
mas01cr@510 | 8 }; |
mas01cr@510 | 9 |
mas01cr@510 | 10 bool operator<(const PointPair& a, const PointPair& b); |
mas01mc@530 | 11 bool operator>(const PointPair& a, const PointPair& b); |