KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
Current_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 >))
 
 Current_model_recorder ()
 
 Current_model_recorder (const Model &initial_model)
 
void operator() (const Model &m, const Step_log< Model > &step_log)
 
const Value_typeget () const
 

Detailed Description

template<class Model>
class Current_model_recorder< Model >

Implements the ModelRecorder concept.

Keeps track of the best model; ignores the rest.

TODO: Split into Current_model_recorder and Current_log_recorder.

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class Model >
Current_model_recorder< Model >::Current_model_recorder ( )
inline
template<class Model >
Current_model_recorder< Model >::Current_model_recorder ( const Model &  initial_model)
inline

Member Function Documentation

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

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