view accumulator.h @ 608:548bfaa1b0ff

Added support for similarity searching. * Creates an in-memory store to hold dynamically created statements. * Handles musim:distance and musim:element * Creates musim:Simarity statements. * NB: Currently musim:distance must come after musim:element
author mas01mj
date Fri, 21 Aug 2009 15:23:32 +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