gambit is hosted by Hepforge, IPPP Durham
 GAMBIT  v1.5.0-2191-ga4742ac a Global And Modular Bsm Inference Tool
diver.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
18
19 #ifndef __diver_hpp__
20 #define __diver_hpp__
21
23
24 // C++ prototype of the main run_de function for Diver.
25 extern "C" void cdiver(double (*)(double[], const int, int&, bool&, const bool, void*&), int, const double[], const double[],
26  const char[], int, int, const int[], bool, const int, const int, int, int, const double[], double,
27  double, bool, bool, int, bool, bool, double, int, bool, bool, double(*)(const double[], const int, void*&),
28  double, double, int, bool, bool, int, int, double, int, void*&, int);
29
30 namespace Gambit
31 {
32
33  namespace Diver_1_0_4
34  {
35
38  {
41  };
42
44  double objective(double params[], const int param_dim, int &fcall, bool &quit, const bool validvector, void*& context);
45
46  }
47
48 }
49
50 #endif // #defined __diver_hpp__
double objective(double params[], const int param_dim, int &fcall, bool &quit, const bool validvector, void *&context)
Function to be minimised by Diver.
Definition: diver.cpp:184
Scanner::printer_interface * printer
Definition: diver.hpp:40
Scanner::like_ptr likelihood_function
Definition: diver.hpp:39
Structure for passing likelihood and printer data through Diver to the objective function.
Definition: diver.hpp:37
Manager class for creating printer objects.
void cdiver(double(*)(double[], const int, int &, bool &, const bool, void *&), int, const double[], const double[], const char[], int, int, const int[], bool, const int, const int, int, int, const double[], double, double, bool, bool, int, bool, bool, double, int, bool, bool, double(*)(const double[], const int, void *&), double, double, int, bool, bool, int, int, double, void *&, int)
declaration for scanner module
TODO: see if we can use this one:
Definition: Analysis.hpp:33
likelihood container for scanner plugins.