mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Work on parameter estimation and serialization.
This commit is contained in:
parent
f529df33e0
commit
f708cd4a36
6 changed files with 198 additions and 22 deletions
|
@ -7,6 +7,8 @@
|
|||
#include "Val.h"
|
||||
#include "digest.h"
|
||||
|
||||
class BloomFilter;
|
||||
|
||||
class HashVal : public OpaqueVal {
|
||||
public:
|
||||
virtual bool IsValid() const;
|
||||
|
@ -107,4 +109,18 @@ private:
|
|||
RandTest state;
|
||||
};
|
||||
|
||||
class BloomFilterVal : public OpaqueVal {
|
||||
public:
|
||||
BloomFilterVal();
|
||||
|
||||
protected:
|
||||
friend class Val;
|
||||
BloomFilterVal(OpaqueType* t);
|
||||
|
||||
DECLARE_SERIAL(BloomFilterVal);
|
||||
|
||||
private:
|
||||
BloomFilter* bloom_filter_;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue