22 #ifndef __GRIDSEARCH_H_ 23 #define __GRIDSEARCH_H_ 25 #include <unordered_map> 34 enum class pspace_t: char {
43 param (
const std::string &k, pspace_t t);
44 pspace_t get_type () {
return m_type; }
45 std::string get_key () {
return m_key; }
48 const std::string m_key;
49 const pspace_t m_type;
74 void clear ()
override;
114 inst::set generate_parameters (
int param_id)
override;
124 void receive_trial_results (
128 #ifdef __OPTK_TESTING 150 #ifdef __OPTK_TESTING 154 void test_update_search_space();
155 #endif // __OPTK_TESTING 157 #endif // __GRIDSEARCH_H_ __gs::param * m_root
Definition: gridsearch.hpp:137
std::vector< param_t * > sspace_t
Definition: types.hpp:318
Definition: types.hpp:150
std::vector< sspace::sspace_t * > m_syn_spaces
Definition: gridsearch.hpp:147
Some utility functions for running tests.
std::vector< std::tuple< std::string, param * > > params
Definition: gridsearch.cpp:37
Definition: gridsearch.hpp:41
Defines the main types used in the program.
Definition: optimiser.hpp:39
Definition: gridsearch.cpp:27
bool fst_gen
Definition: gridsearch.hpp:140
Definition: gridsearch.hpp:56
This file defines the base class for optimisers.