ブーストでは、特定のものをboost::accumulators::tag
動的に削除することは可能accumulator_set
ですか?
typedef boost::accumulators::features <
boost::accumulators::tag::count,
boost::accumulators::tag::max,
boost::accumulators::tag::min,
boost::accumulators::tag::mean,
boost::accumulators::tag::variance,
boost::accumulators::tag::skewness,
boost::accumulators::tag::kurtosis,
> StatisticalFeatures;
accumulator_set<double, boost::accumulators::stats<StatisticalFeatures>> acc;
または、代わりに、文字列からいくつかを指定できる場所に新しいboost::accumulators::stats
コンテナーを割り当てます。たとえば、文字列が の場合、新しい を作成します
。accumulator_set
boost::accumulators::tag
min,max,mean
accumulator_set<double,bost::accumulators::stats<boost::accumulators::tag::min,boost::accumulators::tag::max,boost::accumulators::tag::mean>> acc
アドバイスをいただきありがとうございます。