aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/histogram/adaptive
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /library/cpp/histogram/adaptive
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
downloadydb-475c0a46f28166e83fd263badc7546377cddcabe.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/histogram/adaptive')
-rw-r--r--library/cpp/histogram/adaptive/adaptive_histogram.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/library/cpp/histogram/adaptive/adaptive_histogram.h b/library/cpp/histogram/adaptive/adaptive_histogram.h
index fa8f48433f..6e1f00ff4c 100644
--- a/library/cpp/histogram/adaptive/adaptive_histogram.h
+++ b/library/cpp/histogram/adaptive/adaptive_histogram.h
@@ -54,40 +54,40 @@ namespace NKiwiAggr {
TAdaptiveHistogram(const THistogram& histo, size_t defaultIntervals = DEFAULT_INTERVALS, ui64 defaultId = 0, TQualityFunction qualityFunc = nullptr);
TAdaptiveHistogram(IHistogram* histo, size_t defaultIntervals = DEFAULT_INTERVALS, ui64 defaultId = 0, TQualityFunction qualityFunc = CalcWeightQuality);
- ~TAdaptiveHistogram() override {
+ ~TAdaptiveHistogram() override {
}
TQualityFunction GetQualityFunc();
void Clear() override;
- void Add(double value, double weight) override;
- void Add(const THistoRec& histoRec) override;
+ void Add(double value, double weight) override;
+ void Add(const THistoRec& histoRec) override;
- void Merge(const THistogram& histo, double multiplier) final;
- void Merge(const TVector<THistogram>& histogramsToMerge) final;
- void Merge(TVector<IHistogramPtr> histogramsToMerge) final;
+ void Merge(const THistogram& histo, double multiplier) final;
+ void Merge(const TVector<THistogram>& histogramsToMerge) final;
+ void Merge(TVector<IHistogramPtr> histogramsToMerge) final;
- void Multiply(double factor) final;
+ void Multiply(double factor) final;
- void FromProto(const THistogram& histo) final;
- void ToProto(THistogram& histo) final;
+ void FromProto(const THistogram& histo) final;
+ void ToProto(THistogram& histo) final;
- void SetId(ui64 id) final;
- ui64 GetId() final;
- bool Empty() final;
- double GetMinValue() final;
- double GetMaxValue() final;
- double GetSum() final;
- double GetSumInRange(double leftBound, double rightBound) final;
- double GetSumAboveBound(double bound) final;
- double GetSumBelowBound(double bound) final;
- double CalcUpperBound(double sum) final;
- double CalcLowerBound(double sum) final;
- double CalcUpperBoundSafe(double sum) final;
- double CalcLowerBoundSafe(double sum) final;
+ void SetId(ui64 id) final;
+ ui64 GetId() final;
+ bool Empty() final;
+ double GetMinValue() final;
+ double GetMaxValue() final;
+ double GetSum() final;
+ double GetSumInRange(double leftBound, double rightBound) final;
+ double GetSumAboveBound(double bound) final;
+ double GetSumBelowBound(double bound) final;
+ double CalcUpperBound(double sum) final;
+ double CalcLowerBound(double sum) final;
+ double CalcUpperBoundSafe(double sum) final;
+ double CalcLowerBoundSafe(double sum) final;
- void PrecomputePartialSums() final;
+ void PrecomputePartialSums() final;
private:
void FromIHistogram(IHistogram* histo);
@@ -120,7 +120,7 @@ namespace NKiwiAggr {
{
}
- ~TDefinedAdaptiveHistogram() override {
+ ~TDefinedAdaptiveHistogram() override {
}
};