All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
Model_recorder< Model > Struct Template Reference

#include <sample_base.h>

Public Types

typedef boost::function2< void,
const Model &, const Step_log
< Model > & > 

Detailed Description

template<typename Model>
struct Model_recorder< Model >

After each sampler iteration, a Model_recorder is called to record the current state of the model.

Some possible application: Optimization (only record the current best), archiving (record everything), integration.

See Also

Member Typedef Documentation

template<typename Model >
typedef boost::function2<void, const Model&, const Step_log<Model>&> Model_recorder< Model >::Type

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