annotate accumulator.h @ 546:e8193805ce42 multiprobeLSH

Rework new audiodb_track_id_datum_offset() and audiodb_insert_create_datum_offset() so that all offsets are in num_vectors. Internals of data storage are left the the methods to implement. If we are going to export these methods to the API, how do we expose the cache ? It needs to be passed back to the user and back in by the user on each call for caching to be re-entrant. No (intentional) functional changes this version.
author mas01mc
date Sun, 08 Feb 2009 22:32:33 +0000
parents 342822c2d49a
children
rev   line source
mas01cr@498 1 #ifndef ACCUMULATOR_H
mas01cr@498 2 #define ACCUMULATOR_H
mas01cr@498 3
mas01cr@498 4 class Accumulator {
mas01cr@498 5 public:
mas01cr@498 6 virtual ~Accumulator() {};
mas01cr@498 7 virtual void add_point(adb_result_t *r) = 0;
mas01cr@498 8 virtual adb_query_results_t *get_points() = 0;
mas01cr@498 9 };
mas01cr@498 10
mas01cr@498 11 #endif