Reformat the world

This commit is contained in:
Tim Wojtulewicz 2021-09-16 15:35:39 -07:00
parent 194cb24547
commit b2f171ec69
714 changed files with 35149 additions and 35203 deletions

View file

@ -2,21 +2,24 @@
#pragma once
#include <broker/expected.hh>
#include <stdint.h>
#include <memory>
#include <vector>
#include <broker/expected.hh>
namespace broker
{
class data;
}
namespace broker { class data; }
namespace zeek::probabilistic::detail {
namespace zeek::probabilistic::detail
{
/**
* A probabilistic cardinality counter using the HyperLogLog algorithm.
*/
class CardinalityCounter {
class CardinalityCounter
{
public:
/**
* Constructor.
@ -184,6 +187,6 @@ private:
uint64_t V;
double alpha_m;
int p; // the log2 of m
};
};
} // namespace zeek::probabilistic::detail
} // namespace zeek::probabilistic::detail