Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
chainarray.hpp File Reference

Contains the interface for MCMC chains. More...

#include "db/db.hpp"
#include "mcmctypes.hpp"
Include dependency graph for chainarray.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  stateline::mcmc::ChainArray
 Manager for all the states and handle reading / writing from / to databse. More...
 

Namespaces

 stateline
 
 stateline::mcmc
 

Enumerations

enum  DbEntryType { stateline::mcmc::internal::DbEntryType::STATE, stateline::mcmc::internal::DbEntryType::LENGTH, stateline::mcmc::internal::DbEntryType::SIGMA, stateline::mcmc::internal::DbEntryType::BETA }
 Represents the different types of entries that the database can contain.
 

Functions

std::string stateline::mcmc::internal::toDbString (uint id, uint index, const DbEntryType &t)
 Get the key string representing a database entry of a particular chain. More...
 
std::string stateline::mcmc::internal::toDbString (uint id, const DbEntryType &t)
 Get the key string representing a database entry of a particular chain. More...
 
double stateline::mcmc::internal::doubleFromDb (const std::string &data)
 Convert a database string value into a floating point value. More...
 
uint stateline::mcmc::internal::uintFromDb (const std::string &data)
 Convert a database string value into an unsigned integer value. More...
 

Detailed Description

Contains the interface for MCMC chains.

Author
Lachlan McCalman
Darren Shen
Date
2014
License:
Affero General Public License version 3 or later