OmniSketch  0.1
Oh my sketch!
OmniSketch::Test Namespace Reference

Testing classes and metrics. More...

Classes

class  BloomFilterTest
 Testing class for Bloom Filter. More...
 
class  CHCMSketchTest
 Testing class for Count Min Sketch. More...
 
class  CMSketchTest
 Testing class for Count Min Sketch. More...
 
class  CountingBloomFilterTest
 Testing class for Bloom Filter. More...
 
class  CountSketchTest
 Testing class for Count Sketch. More...
 
class  CUSketchTest
 Testing class for CU Sketch. More...
 
class  FlowRadarTest
 Testing class for Flow Radar. More...
 
class  HashPipeTest
 Testing class for Bloom Filter. More...
 
class  MetricVec
 Metric vector. More...
 
class  TestBase
 Collection of metrics. More...
 

Enumerations

enum  Metric {
  SIZE, TIME, RATE, ARE,
  AAE, ACC, TP, FP,
  TN, FN, PRC, RCL,
  F1, DIST, PODF, RATIO
}
 Metrics. More...
 

Detailed Description

Testing classes and metrics.

Implementation of template methods.

Implementation of templated methods.

Enumeration Type Documentation

◆ Metric

Metrics.

The second column expounds the meaning of each metric.

Enumerator
SIZE 

size (in bytes)

TIME 

time (in microseconds, 1e-6s)

RATE 

processing rate (packets per second)

ARE 

average relative error (in numeric)

AAE 

average absolute error (in numeric)

ACC 

correct rate (in percentile)

TP 

true positive (in percentile)

FP 

false positive (in percentile)

TN 

true negative (in percentile)

FN 

false negative (in percentile)

PRC 

precision := (TP) over (TP + FP) (in numeric)

RCL 

recall := (TP) over (TP + FN) (in numeric)

F1 

F1Score := harmonic mean of precision & recall (in numeric)

DIST 

distribution of error (vector)

PODF 

portion of desired flow (in percentile)

RATIO 

decoded ratio (in percentile), i.e., the ratio of #(decoded flows) in ground truth to #flows