file 1.0.0/1.0.0/diver.hpp
[No description available] More…
Namespaces
Name |
---|
Gambit TODO: see if we can use this one: |
Gambit::Diver_1_0_0 |
Classes
Name | |
---|---|
struct | Gambit::Diver_1_0_0::diverScanData Structure for passing likelihood and printer data through Diver to the objective function. |
Functions
Name | |
---|---|
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 ) |
Detailed Description
Author: Pat Scott (p.scott@imperial.ac.uk)
Date: 2015 June
ScannerBit interface to Diver 1.0.0
Header file
Authors (add name and date if you modify):
Functions Documentation
function cdiver
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
)
Source code
// GAMBIT: Global and Modular BSM Inference Tool
// *********************************************
/// \file
///
/// ScannerBit interface to Diver 1.0.0
///
/// Header file
///
/// *********************************************
///
/// Authors (add name and date if you modify):
///
/// \author Pat Scott
/// (p.scott@imperial.ac.uk)
/// \date 2015 June
///
/// *********************************************
#ifndef __diver_hpp__
#define __diver_hpp__
#include "gambit/ScannerBit/scanner_plugin.hpp"
// C++ prototype of the main run_de function for Diver.
extern "C" 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);
namespace Gambit
{
namespace Diver_1_0_0
{
/// Structure for passing likelihood and printer data through Diver to the objective function.
struct diverScanData
{
Scanner::like_ptr likelihood_function;
Scanner::printer_interface* printer;
};
/// Function to be minimised by Diver
double objective(double params[], const int param_dim, int &fcall, bool &quit, const bool validvector, void*& context);
}
}
#endif // #defined __diver_hpp__
Updated on 2024-07-18 at 13:53:32 +0000