mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Renaming HyperLogLog->CardinalityCounter.
For consistency with the class' name.
This commit is contained in:
parent
ef04ce809b
commit
fb3ceae6d5
4 changed files with 7 additions and 6 deletions
|
@ -9,13 +9,13 @@ include_directories(BEFORE
|
||||||
set(probabilistic_SRCS
|
set(probabilistic_SRCS
|
||||||
BitVector.cc
|
BitVector.cc
|
||||||
BloomFilter.cc
|
BloomFilter.cc
|
||||||
|
CardinalityCounter.cc
|
||||||
CounterVector.cc
|
CounterVector.cc
|
||||||
Hasher.cc
|
Hasher.cc
|
||||||
HyperLogLog.cc
|
|
||||||
Topk.cc)
|
Topk.cc)
|
||||||
|
|
||||||
bif_target(bloom-filter.bif)
|
bif_target(bloom-filter.bif)
|
||||||
bif_target(hyper-loglog.bif)
|
bif_target(cardinality-counter.bif)
|
||||||
bif_target(top-k.bif)
|
bif_target(top-k.bif)
|
||||||
bro_add_subdir_library(probabilistic ${probabilistic_SRCS})
|
bro_add_subdir_library(probabilistic ${probabilistic_SRCS})
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include "HyperLogLog.h"
|
|
||||||
|
#include "CardinalityCounter.h"
|
||||||
#include "Reporter.h"
|
#include "Reporter.h"
|
||||||
#include "Serializer.h"
|
#include "Serializer.h"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// See the file "COPYING" in the main distribution directory for copyright.
|
// See the file "COPYING" in the main distribution directory for copyright.
|
||||||
|
|
||||||
#ifndef hyperloglog_h
|
#ifndef PROBABILISTIC_CARDINALITYCOUNTER_H
|
||||||
#define hyperloglog_h
|
#define PROBABILISTIC_CARDINALITYCOUNTER_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <OpaqueVal.h>
|
#include <OpaqueVal.h>
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
|
|
||||||
%%{
|
%%{
|
||||||
#include "probabilistic/HyperLogLog.h"
|
#include "probabilistic/CardinalityCounter.h"
|
||||||
|
|
||||||
using namespace probabilistic;
|
using namespace probabilistic;
|
||||||
%%}
|
%%}
|
Loading…
Add table
Add a link
Reference in a new issue