KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
Expectation_recorder< Model, Value > Class Template Reference

#include <sample_recorder.h>

Public Types

typedef Model Model_type
 
typedef Value Value_type
 
typedef boost::function1
< Value_type, const Model & > 
Func
 

Public Member Functions

 BOOST_CONCEPT_ASSERT ((BaseModel< Model >))
 
 Expectation_recorder (const Func &f, const Value_type &initial_val=Value_type())
 
virtual ~Expectation_recorder ()
 
virtual void operator() (const Model &m, const Step_log< Model > &)
 
const Value_type get () const
 

Detailed Description

template<class Model, class Value>
class Expectation_recorder< Model, Value >

Implements the Model_recorder concept.

Approximates expected value of a function.

Member Typedef Documentation

template<class Model , class Value >
typedef boost::function1<Value_type, const Model&> Expectation_recorder< Model, Value >::Func
template<class Model , class Value >
typedef Model Expectation_recorder< Model, Value >::Model_type
template<class Model , class Value >
typedef Value Expectation_recorder< Model, Value >::Value_type

Constructor & Destructor Documentation

template<class Model , class Value >
Expectation_recorder< Model, Value >::Expectation_recorder ( const Func f,
const Value_type initial_val = Value_type() 
)
inline
template<class Model , class Value >
virtual Expectation_recorder< Model, Value >::~Expectation_recorder ( )
inlinevirtual

Member Function Documentation

template<class Model , class Value >
Expectation_recorder< Model, Value >::BOOST_CONCEPT_ASSERT ( (BaseModel< Model >)  )
template<class Model , class Value >
const Value_type Expectation_recorder< Model, Value >::get ( ) const
inline
template<class Model , class Value >
virtual void Expectation_recorder< Model, Value >::operator() ( const Model &  m,
const Step_log< Model > &   
)
inlinevirtual

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