Struct OutlierClassification

Synopsis

#include <include/internal/benchmark/catch_outlier_classification.hpp>

struct OutlierClassification

Description

No description yet.

Methods

total

Source

Lines 15-25 in include/internal/benchmark/catch_outlier_classification.hpp.

struct OutlierClassification {
    int samples_seen = 0;
    int low_severe = 0;     // more than 3 times IQR below Q1
    int low_mild = 0;       // 1.5 to 3 times IQR below Q1
    int high_mild = 0;      // 1.5 to 3 times IQR above Q3
    int high_severe = 0;    // more than 3 times IQR above Q3
    int total() const {
        return low_severe + low_mild + high_mild + high_severe;
    }
};





Add Discussion as Guest

Log in