minimc 0.5.1
Loading...
Searching...
No Matches
EstimatorSetProxy Class Reference

A lightweight class for accumulating scores produced by a single history. More...

#include <Estimator.hpp>

Public Member Functions

 EstimatorSetProxy (const EstimatorSet &init) noexcept
 Construct a Proxy for the given EstimatorSet.
 
void Score (const Particle &p) noexcept
 Score to each Estimator::Proxy.
 
void CommitHistory () noexcept
 Calls Estimator::Proxy::CommitHistory() on each Estimator::Proxy.
 

Detailed Description

A lightweight class for accumulating scores produced by a single history.

Constructing an EstimatorSet at the beginning of each history may be expensive since it would require allocating a bunch of zero scores


The documentation for this class was generated from the following file: