# Accumulators Framework Reference

Includes all of the Accumulators Framework

The maximum number of accumulators that may be put in an accumulator_set. Defaults to BOOST_MPL_LIMIT_VECTOR_SIZE (which defaults to 20).

The maximum number of arguments that may be specified to an accumulator_set's accumulation function. Defaults to 15.

mpl::false_
unspecified ``dont_care``
unspecified ``dont_care``
unspecified ``dont_care``
unspecified ``dont_care``
Args const &
Stat
void
A set of accumulators.

`accumulator_set` resolves the dependencies between features and ensures that the accumulators in the set are updated in the proper order.

acccumulator_set provides a general mechanism to visit the accumulators in the set in order, with or without a filter. You can also fetch a reference to an accumulator that corresponds to a feature.

Extraction.
The type of the samples that will be accumulated.
Sample
An MPL sequence of the features that should be accumulated.
Features
The type of the weight parameter. Must be a scalar. Defaults to void.
Weight
The return type of the operator() overloads is void.
void
void `UnaryFunction const &

UnaryFunction which is invoked with each accumulator in turn.

`

Visitation

void `UnaryFunction const &

UnaryFunction which is invoked with each accumulator in turn, provided the accumulator satisfies the MPL predicate FilterPred.

`

Conditional visitation

void

Accumulation

`apply`< Feature >::type & Extraction.
`apply`< Feature >::type const & This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
void Drop.
void `Archive &` `const unsigned int`
A1 const &

Optional named parameter to be passed to all the accumulators

unspecified
unspecified

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

A1 const &

Optional sample parameter to be passed to all the accumulators

unspecified
unspecified

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

mpl::apply< AccumulatorSet, Feature >::type const & `AccumulatorSet const &` This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
mpl::apply< AccumulatorSet, Feature >::type::result_type `AccumulatorSet const &`
mpl::apply< AccumulatorSet, Feature >::type & `AccumulatorSet &acc`
tag::droppable< Feature >
`tag::droppable`< typename `as_feature`< Feature >::type >
tag::droppable< Feature >
`tag::droppable`< typename `as_weighted_feature`< Feature >::type >
boost::accumulators::droppable_accumulator_base< Accumulator >
Args const &
droppable_accumulator
const &
Accumulator
`droppable_accumulator_base`
mpl::true_
Accumulator::result_type
void `Args const &`
void `Args const &`
void `Args const &`
bool
Args const &
droppable_accumulator_base
const &
tag::droppable< Feature >
boost::accumulators::feature_of< Feature >
Accumulator
Accumulator::result_type
void `Args const &`
result_type `Args const &`
Args const &
with_cached_result
const &
void `result_type const &`
result_type const &
bool
`droppable`< Feature >
droppable< Feature >
`droppable`< Feature >
as_feature::type
`droppable_accumulator`< typename mpl::apply2< typename feature_type::impl, Sample, Weight >::type >
`as_feature`< Feature >::type
feature_type::dependencies
mpl::transform< typenamefeature_type::dependencies, `as_droppable`< mpl::_1 > >::type
tag::external< Feature
Tag
AccumulatorSet >
boost::accumulators::feature_of< Feature >
boost::accumulators::depends_on< reference< AccumulatorSet, Tag > >
unspecified
Feature
Tag
void
boost::accumulators::depends_on<>
unspecified
tag::reference< ValueType
Tag >
boost::accumulators::feature_of< tag::reference_tag< Tag > >
boost::accumulators::accumulator_base
Referent &
result_type ``dont_care``
Args const &
boost::accumulators::depends_on<>
tag::value< ValueType
Tag >
boost::accumulators::feature_of< tag::value_tag< Tag > >
boost::accumulators::accumulator_base
ValueType
result_type ``dont_care``
Args const &
boost::accumulators::depends_on<>
Feature
Feature
...

boost::accumulators::depends_on

depends_on
mpl::false_
mpl::transform< mpl::vector< Feature1, Feature2,... >, `as_feature`< mpl::_1 > >::type
Feature
Extracts the result associated with Feature from the specified `accumulator_set`.
The result meta-function for determining the return type of the extractor.
this_type(A1)
`extractor`< Feature >
unspecified `Arg1 const &`

Extract the result associated with Feature from the accumulator set

unspecified `AccumulatorSet const &` `A1 const &

Optional named parameter to be passed to the accumulator's result() function.

`

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

unspecified ... `AccumulatorSet const &` `A1 const &` `A2 const &` `...`

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

...
mpl::vector< Feature1, Feature2,... >