Renaming HyperLogLog->CardinalityCounter.

For consistency with the class' name.
This commit is contained in:
Robin Sommer 2013-08-31 10:22:27 -07:00
parent ef04ce809b
commit fb3ceae6d5
4 changed files with 7 additions and 6 deletions

View file

@ -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})

View file

@ -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"

View file

@ -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>

View file

@ -6,7 +6,7 @@
%%{ %%{
#include "probabilistic/HyperLogLog.h" #include "probabilistic/CardinalityCounter.h"
using namespace probabilistic; using namespace probabilistic;
%%} %%}