mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Merge remote-tracking branch 'origin/topic/johanna/topk-cite'
* origin/topic/johanna/topk-cite: Add exact name of the Top-k algorithm.
This commit is contained in:
commit
3a7b127a71
2 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
|||
##! Keep the top-k (i.e., most frequently occurring) observations.
|
||||
##!
|
||||
##! This plugin uses a probabilistic algorithm to count the top-k elements.
|
||||
##! The algorithm (called Space-Saving) is described in the paper Efficient
|
||||
##! Computation of Frequent and Top-k Elements in Data Streams", by
|
||||
##! Metwally et al. (2005).
|
||||
|
||||
@load base/frameworks/sumstats
|
||||
|
||||
|
|
|
@ -7,8 +7,11 @@
|
|||
#include "zeek/OpaqueVal.h"
|
||||
#include "zeek/Val.h"
|
||||
|
||||
// This class implements the top-k algorithm. Or - to be more precise - an
|
||||
// interpretation of it.
|
||||
// This class implements the Space-Saving algorithm for counting the Top-k elements
|
||||
// in a datastream as presented in the paper "Efficient Computation of Frequent and
|
||||
// Top-k Elements in Data Streams", by Metwally et al. (2005).
|
||||
//
|
||||
// Or - to be more precise - it implements an interpretation of it.
|
||||
|
||||
namespace zeek::detail
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue