KJB
|
#include <sample_recorder.h>
Public Types | |
typedef Model | Model_type |
typedef std::deque< Model > | Value_type |
typedef std::deque< Model > | Parent |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((BaseModel< Model >)) | |
Recent_model_recorder (int n=0) | |
virtual | ~Recent_model_recorder () |
virtual void | operator() (const Model &m, const Step_log< Model > &) |
const Value_type & | get () const |
class Recent_model_recorder
Implements the Model_recorder concept.
Saves the models in a queue, with an optional bound on the queue length.
typedef Model Recent_model_recorder< Model >::Model_type |
typedef std::deque<Model> Recent_model_recorder< Model >::Parent |
typedef std::deque<Model> Recent_model_recorder< Model >::Value_type |
|
inline |
n | Maximum number of elements to store before deleting old elements. If zero, all elements are saved. |
|
inlinevirtual |
Recent_model_recorder< Model >::BOOST_CONCEPT_ASSERT | ( | (BaseModel< Model >) | ) |
|
inline |
|
inlinevirtual |