diff options
author | mihaild <mihaild@yandex-team.ru> | 2022-02-10 16:46:59 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:59 +0300 |
commit | 55fa8c7df8dba9a6fda8a807e529a9d04bd88580 (patch) | |
tree | b83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/histogram | |
parent | 246417ad6168d3f7ab4a0cf1c79ba4259f7c45ae (diff) | |
download | ydb-55fa8c7df8dba9a6fda8a807e529a9d04bd88580.tar.gz |
Restoring authorship annotation for <mihaild@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/histogram')
-rw-r--r-- | library/cpp/histogram/adaptive/block_histogram.h | 2 | ||||
-rw-r--r-- | library/cpp/histogram/adaptive/common.h | 2 | ||||
-rw-r--r-- | library/cpp/histogram/adaptive/fixed_bin_histogram.h | 4 | ||||
-rw-r--r-- | library/cpp/histogram/adaptive/multi_histogram.h | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/histogram/adaptive/block_histogram.h b/library/cpp/histogram/adaptive/block_histogram.h index 89e9702446..266bb2f2b2 100644 --- a/library/cpp/histogram/adaptive/block_histogram.h +++ b/library/cpp/histogram/adaptive/block_histogram.h @@ -7,7 +7,7 @@ #include <util/generic/ptr.h> #include <util/generic/vector.h> -#include <utility> +#include <utility> namespace NKiwiAggr { /////////////////// diff --git a/library/cpp/histogram/adaptive/common.h b/library/cpp/histogram/adaptive/common.h index 67994582ed..c0f7dfb26b 100644 --- a/library/cpp/histogram/adaptive/common.h +++ b/library/cpp/histogram/adaptive/common.h @@ -1,6 +1,6 @@ #pragma once -#include <utility> +#include <utility> namespace NKiwiAggr { using TWeightedValue = std::pair<double, double>; // value, weight diff --git a/library/cpp/histogram/adaptive/fixed_bin_histogram.h b/library/cpp/histogram/adaptive/fixed_bin_histogram.h index ac3f879fd1..bd380bd94a 100644 --- a/library/cpp/histogram/adaptive/fixed_bin_histogram.h +++ b/library/cpp/histogram/adaptive/fixed_bin_histogram.h @@ -6,7 +6,7 @@ #include <util/generic/ptr.h> #include <util/generic/vector.h> -#include <utility> +#include <utility> namespace NKiwiAggr { class TFixedBinHistogram: private TNonCopyable, public IHistogram { @@ -14,7 +14,7 @@ namespace NKiwiAggr { static const size_t DEFAULT_TRAINING_SET_SIZE = 10000; static const size_t DEFAULT_INTERVALS = 100; - typedef std::pair<double, double> TWeightedValue; // value, weight + typedef std::pair<double, double> TWeightedValue; // value, weight THolder<TVector<TWeightedValue>> TrainingSet; size_t TrainingSetSize; diff --git a/library/cpp/histogram/adaptive/multi_histogram.h b/library/cpp/histogram/adaptive/multi_histogram.h index 0fb429cf4d..41caac5ba6 100644 --- a/library/cpp/histogram/adaptive/multi_histogram.h +++ b/library/cpp/histogram/adaptive/multi_histogram.h @@ -7,7 +7,7 @@ #include <util/generic/hash.h> #include <util/generic/ptr.h> -#include <utility> +#include <utility> namespace NKiwiAggr { template <class TMyHistogram> @@ -51,7 +51,7 @@ namespace NKiwiAggr { void Add(ui64 id, double value, double weight) { THistogramsMap::const_iterator it = Histograms.find(id); if (it == Histograms.end()) { - it = Histograms.insert(std::make_pair(id, IHistogramPtr(new TMyHistogram(Intervals, id)))).first; + it = Histograms.insert(std::make_pair(id, IHistogramPtr(new TMyHistogram(Intervals, id)))).first; } it->second->Add(value, weight); } |