17 #ifndef DOXYGEN_SHOULD_SKIP_THIS
18 struct NLOPTAlgorithmHelper
20 static int16_t get_nlopt_algorithm_id(nlopt_algorithm method)
22 return (int16_t) method;
25 static nlopt_algorithm get_nlopt_algorithm(int16_t method_id)
27 REQUIRE(method_id>=0 && method_id<(int16_t)NLOPT_NUM_ALGORITHMS,
28 "Unsupported method id (%d)\n", method_id);
29 return (nlopt_algorithm) method_id;
37 #endif //USE_GPL_SHOGUN
38 #endif //NLOPTCOMMON_H
all of classes and functions are contained in the shogun namespace