7#ifndef _MINISKETCH_STATE_H_
8#define _MINISKETCH_STATE_H_
32 virtual void Init(
size_t syndromes) = 0;
33 virtual void Add(uint64_t element) = 0;
39 virtual int Decode(
int max_count, uint64_t* roots)
const = 0;
Abstract class for internal representation of a minisketch object.
virtual void Serialize(unsigned char *) const =0
int Implementation() const
virtual size_t Merge(const Sketch *other_sketch)=0
virtual void SetSeed(uint64_t seed)=0
virtual size_t Syndromes() const =0
virtual void Add(uint64_t element)=0
virtual void Deserialize(const unsigned char *)=0
virtual int Decode(int max_count, uint64_t *roots) const =0
virtual void Init(size_t syndromes)=0
Sketch(int implementation, int bits)
const int m_implementation