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
BitVector.cc
BloomFilter.cc
CardinalityCounter.cc
CounterVector.cc
Hasher.cc
HyperLogLog.cc
Topk.cc)
bif_target(bloom-filter.bif)
bif_target(hyper-loglog.bif)
bif_target(cardinality-counter.bif)
bif_target(top-k.bif)
bro_add_subdir_library(probabilistic ${probabilistic_SRCS})

View file

@ -3,7 +3,8 @@
#include <math.h>
#include <stdint.h>
#include <iostream>
#include "HyperLogLog.h"
#include "CardinalityCounter.h"
#include "Reporter.h"
#include "Serializer.h"

View file

@ -1,7 +1,7 @@
// See the file "COPYING" in the main distribution directory for copyright.
#ifndef hyperloglog_h
#define hyperloglog_h
#ifndef PROBABILISTIC_CARDINALITYCOUNTER_H
#define PROBABILISTIC_CARDINALITYCOUNTER_H
#include <stdint.h>
#include <OpaqueVal.h>

View file

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