#include <OpenMS/ML/GRIDSEARCH/GridSearch.h>
|
| GridSearch (std::vector< TupleTypes >... gridValues) |
|
template<typename Functor > |
std::result_of< Functor(TupleTypes...)>::type | evaluate (Functor evaluator, typename std::result_of< Functor(TupleTypes...)>::type startValue, std::array< size_t, std::tuple_size< std::tuple< std::vector< TupleTypes >... >>::value > &resultIndices) |
|
template<typename EvalResult > |
EvalResult | evaluate (EvalResult evaluator(TupleTypes...), EvalResult startValue, std::array< size_t, std::tuple_size< std::tuple< std::vector< TupleTypes >... >>::value > &resultIndices) |
|
unsigned int | getNrCombos () |
|
|
template<std::size_t I = 0> |
std::enable_if< I==sizeof...(TupleTypes), unsigned int >::type | nrCombos () |
|
◆ GridSearch()
GridSearch |
( |
std::vector< TupleTypes >... |
gridValues | ) |
|
|
inlineexplicit |
◆ evaluate() [1/2]
EvalResult evaluate |
( |
EvalResult |
evaluatorTupleTypes..., |
|
|
EvalResult |
startValue, |
|
|
std::array< size_t, std::tuple_size< std::tuple< std::vector< TupleTypes >... >>::value > & |
resultIndices |
|
) |
| |
|
inline |
◆ evaluate() [2/2]
std::result_of<Functor(TupleTypes...)>::type evaluate |
( |
Functor |
evaluator, |
|
|
typename std::result_of< Functor(TupleTypes...)>::type |
startValue, |
|
|
std::array< size_t, std::tuple_size< std::tuple< std::vector< TupleTypes >... >>::value > & |
resultIndices |
|
) |
| |
|
inline |
◆ getNrCombos()
unsigned int getNrCombos |
( |
| ) |
|
|
inline |
◆ nrCombos()
std::enable_if<I == sizeof...(TupleTypes), unsigned int>::type nrCombos |
( |
| ) |
|
|
inlineprivate |
◆ combos_
◆ combos_ready_
bool combos_ready_ = false |
|
private |
◆ grid_
std::tuple<std::vector<TupleTypes>...> grid_ |
|
private |