view accumulator.h @ 552:1ff30df0aeac multiprobeLSH

Improve the behaviour of the RDF example a little bit. Automatically create the database if it doesn't exist yet. Write a little explanatory comment about how we could be cleverer.
author mas01cr
date Fri, 13 Feb 2009 11:01:35 +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