Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
obsidian::GeoAsyncPolicy Class Reference

Abstraction / Wrapper for the comms system. Used from mcmc.run() for submitting jobs and retrieves results. More...

#include <asyncdelegator.hpp>

Public Member Functions

 GeoAsyncPolicy (stateline::comms::Delegator &delegator, const GlobalPrior &prior, const std::set< ForwardModel > &sensorsEnabled)
 
void submit (uint id, const Eigen::VectorXd &theta)
 Submit job for a parameter set for all sensors. More...
 
std::pair< uint, double > retrieve ()
 Retrieve a job likelihood; collated over all the sensors. More...
 

Detailed Description

Abstraction / Wrapper for the comms system. Used from mcmc.run() for submitting jobs and retrieves results.

Member Function Documentation

std::pair< uint, double > obsidian::GeoAsyncPolicy::retrieve ( )

Retrieve a job likelihood; collated over all the sensors.

Returns
pair<job ID , likelihood>
void obsidian::GeoAsyncPolicy::submit ( uint  id,
const Eigen::VectorXd &  theta 
)

Submit job for a parameter set for all sensors.

Parameters
ida job ID (0 - uint32_t::max
thetaparameters to compute likelihood of.

The documentation for this class was generated from the following files: