view accumulator.h @ 442:16c5c51a4c32 api-inversion

Add more information to adb_t In this case, add a vector to store track offsets. WARNING WARNING WARNING: unlike trackOffsetTable, this is a raw off_t in bytes of the feature data: in other words, it already has sizeof(double) and dbH->dim in it. (I think this is probably minimally unsurprising in the long run, but as I convert stuff there might well be errors creeping in...)
author mas01cr
date Wed, 24 Dec 2008 10:56:29 +0000
parents a7d61291fbda
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