diff options
author | victor-k <victor-k@yandex-team.ru> | 2022-02-10 16:50:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:38 +0300 |
commit | f632afcab870d2327aaa8388ceeb7aeb2bb6a1c1 (patch) | |
tree | 7bf4ee5af2c901bfd7715a527d63fad8eabf861d /library/cpp/histogram/adaptive/histogram.h | |
parent | fdec3824b69496e472972311be8d8157a8bb99db (diff) | |
download | ydb-f632afcab870d2327aaa8388ceeb7aeb2bb6a1c1.tar.gz |
Restoring authorship annotation for <victor-k@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/histogram/adaptive/histogram.h')
-rw-r--r-- | library/cpp/histogram/adaptive/histogram.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/histogram/adaptive/histogram.h b/library/cpp/histogram/adaptive/histogram.h index 360fd9a693..fb8d0984b3 100644 --- a/library/cpp/histogram/adaptive/histogram.h +++ b/library/cpp/histogram/adaptive/histogram.h @@ -14,7 +14,7 @@ namespace NKiwiAggr { public: // Supposed constructors: // - // TSomeHistogram(size_t intervals, ui64 id = 0); // where intervals is some constant that defines histogram accuracy + // TSomeHistogram(size_t intervals, ui64 id = 0); // where intervals is some constant that defines histogram accuracy // TSomeHistogram(const THistogram& histo); // histo must be acceptable for TSomeHistogram, for example, only with HT_FIXED_BIN_HISTOGRAM for TFixedBinHistogram // TSomeHistogram(IHistogram* histo); // any kind of IHistogram @@ -38,8 +38,8 @@ namespace NKiwiAggr { virtual void FromProto(const THistogram& histo) = 0; // throws exception in case of wrong histogram type of histo virtual void ToProto(THistogram& histo) = 0; - virtual void SetId(ui64 id) = 0; - virtual ui64 GetId() = 0; + virtual void SetId(ui64 id) = 0; + virtual ui64 GetId() = 0; virtual bool Empty() = 0; virtual double GetMinValue() = 0; virtual double GetMaxValue() = 0; @@ -49,8 +49,8 @@ namespace NKiwiAggr { virtual double GetSumBelowBound(double bound) = 0; virtual double CalcUpperBound(double sum) = 0; virtual double CalcLowerBound(double sum) = 0; - virtual double CalcUpperBoundSafe(double sum) = 0; - virtual double CalcLowerBoundSafe(double sum) = 0; + virtual double CalcUpperBoundSafe(double sum) = 0; + virtual double CalcLowerBoundSafe(double sum) = 0; double GetValueAtPercentile(double percentile) { return CalcUpperBound(percentile * GetSum()); } |