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

#include <sample_recorder.h>

Public Types

typedef Model Model_type
 
typedef Model Value_type
 

Public Member Functions

 BOOST_CONCEPT_ASSERT ((BaseModel< Model >))
 
 Best_model_recorder ()
 
 Best_model_recorder (const Model &initial_model, double initial_lt)
 
void operator() (const Model &m, Step_log< Model > step_log)
 
const Value_typeget () const
 
double get_log_target () const
 

Detailed Description

template<class Model>
class Best_model_recorder< Model >

Implements the ModelRecorder concept.

Keeps track of the best model; ignores the rest.

Member Typedef Documentation

template<class Model >
typedef Model Best_model_recorder< Model >::Model_type
template<class Model >
typedef Model Best_model_recorder< Model >::Value_type

Constructor & Destructor Documentation

template<class Model >
Best_model_recorder< Model >::Best_model_recorder ( )
inline
template<class Model >
Best_model_recorder< Model >::Best_model_recorder ( const Model &  initial_model,
double  initial_lt 
)
inline

Member Function Documentation

template<class Model >
Best_model_recorder< Model >::BOOST_CONCEPT_ASSERT ( (BaseModel< Model >)  )
template<class Model >
const Value_type& Best_model_recorder< Model >::get ( ) const
inline
template<class Model >
double Best_model_recorder< Model >::get_log_target ( ) const
inline
template<class Model >
void Best_model_recorder< Model >::operator() ( const Model &  m,
Step_log< Model >  step_log 
)
inline

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