view accumulator.h @ 556:4d6e2ac4de7a multiprobeLSH

INDEXING: fixed reverse-lookup roundoff error when data gets very large. Computation of offset was lacking an essential cast to off_t.
author mas01mc
date Fri, 20 Feb 2009 19:03:17 +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