MCPcopy Create free account
hub / github.com/davisking/dlib / function_evaluation

Class function_evaluation

dlib/global_optimization/upper_bound_function.h:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15// ----------------------------------------------------------------------------------------
16
17 struct function_evaluation
18 {
19 function_evaluation() = default;
20 function_evaluation(const matrix<double,0,1>& x, double y) :x(x), y(y) {}
21
22 matrix<double,0,1> x;
23 double y = std::numeric_limits<double>::quiet_NaN();
24 };
25
26// ----------------------------------------------------------------------------------------
27

Callers 4

find_max_globalFunction · 0.70
setMethod · 0.70
py_function_evaluationFunction · 0.50
test_find_max_globalFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_find_max_globalFunction · 0.40