view accumulator.h @ 530:aa715b3e18db multiprobeLSH

Completed audiodb_datum_qpointers_partial(), fixed bug that was scribbling over pre-computed l2norms when points arrived in original less<PointPair> order, switched to greater<PointPair> order and all is fixed.
author mas01mc
date Fri, 30 Jan 2009 19:44:51 +0000
parents 342822c2d49a
children
line wrap: on
line source
#ifndef ACCUMULATOR_H
#define ACCUMULATOR_H

class Accumulator {
public:
  virtual ~Accumulator() {};
  virtual void add_point(adb_result_t *r) = 0;
  virtual adb_query_results_t *get_points() = 0;
};

#endif