24 #include "cheetah/sps/emulator/Config.h" 34 : utils::Config(
"emulator")
44 void Config::add_options(OptionsDescriptionEasyInit& add_options)
47 (
"candidate_rate", boost::program_options::value<float>(&_rate)->default_value(_rate) ,
"Number of candidates per second")
48 (
"active", boost::program_options::value<bool>(&_active)->default_value(_active) ,
"Enable emulation mode");
51 float Config::candidate_rate()
const 56 void Config::candidate_rate(
float cands_per_second)
58 _rate = cands_per_second;
void activate()
activate the algorithm
Some limits and constants for FLDO.
bool active() const
returns true if algorithm is selected