Empirical
Classes | Public Member Functions | List of all members
emp::BatchConfig< RUN_T, CONFIG_T > Class Template Reference

#include <BatchConfig.h>

Public Member Functions

 BatchConfig (const start_fun_t &f)
 
size_t GetSize () const
 
size_t GetCurRun () const
 
CONFIG_T & GetConfig (size_t id)
 
const CONFIG_T & GetConfig (size_t id) const
 
void AddRun (const CONFIG_T &in_config)
 
bool Start ()
 

Detailed Description

template<typename RUN_T, CONFIG_T>
class emp::BatchConfig< RUN_T, CONFIG_T >

Class to managae a set of runs: RUN_T is the type of the object that contains the run info. CONFIG_T is the config object being used.

Constructor & Destructor Documentation

template<typename RUN_T , CONFIG_T >
emp::BatchConfig< RUN_T, CONFIG_T >::BatchConfig ( const start_fun_t &  f)
inline

Member Function Documentation

template<typename RUN_T , CONFIG_T >
void emp::BatchConfig< RUN_T, CONFIG_T >::AddRun ( const CONFIG_T &  in_config)
inline
template<typename RUN_T , CONFIG_T >
CONFIG_T& emp::BatchConfig< RUN_T, CONFIG_T >::GetConfig ( size_t  id)
inline
template<typename RUN_T , CONFIG_T >
const CONFIG_T& emp::BatchConfig< RUN_T, CONFIG_T >::GetConfig ( size_t  id) const
inline
template<typename RUN_T , CONFIG_T >
size_t emp::BatchConfig< RUN_T, CONFIG_T >::GetCurRun ( ) const
inline
template<typename RUN_T , CONFIG_T >
size_t emp::BatchConfig< RUN_T, CONFIG_T >::GetSize ( ) const
inline
template<typename RUN_T , CONFIG_T >
bool emp::BatchConfig< RUN_T, CONFIG_T >::Start ( )
inline

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