OpenGM  2.3.x
Discrete Graphical Model Library
Classes | Functions
opengm::hdf5 Namespace Reference

Fiel I/O of graphical models using the HDF5 binary data format. More...

Classes

struct  SaveAndLoadFunctions
 

Functions

template<class GM >
void save (const GM &gm, const std::string &filepath, const std::string &datasetName)
 save a graphical model to an HDF5 file More...
 
template<class GM_ >
void load (GM_ &gm, const std::string &, const std::string &)
 
template<class GM >
void load (GM &gm, const std::string &filepath, const std::string &datasetName)
 
template<class GM >
void save (const LPReparametrisationStorage< GM > &repa, const std::string &filename, const std::string &modelname)
 
template<class GM >
void load (LPReparametrisationStorage< GM > *prepa, const std::string &filename, const std::string &modelname)
 

Detailed Description

Fiel I/O of graphical models using the HDF5 binary data format.

Function Documentation

template<class GM_ >
void opengm::hdf5::load ( GM_ &  gm,
const std::string &  ,
const std::string &   
)
Examples:
io_graphical_model.cxx.

+ Here is the caller graph for this function:

template<class GM >
void opengm::hdf5::load ( LPReparametrisationStorage< GM > *  prepa,
const std::string &  filename,
const std::string &  modelname 
)

Definition at line 29 of file lp_reparametrization_hdf5.hxx.

+ Here is the call graph for this function:

template<class GM >
void opengm::hdf5::load ( GM &  gm,
const std::string &  filepath,
const std::string &  datasetName 
)

Definition at line 431 of file graphicalmodel_hdf5.hxx.

+ Here is the call graph for this function:

template<class GM >
void opengm::hdf5::save ( const LPReparametrisationStorage< GM > &  repa,
const std::string &  filename,
const std::string &  modelname 
)

Definition at line 18 of file lp_reparametrization_hdf5.hxx.

+ Here is the call graph for this function:

template<class GM >
void opengm::hdf5::save ( const GM &  gm,
const std::string &  filepath,
const std::string &  datasetName 
)

save a graphical model to an HDF5 file

Parameters
gmgraphical model to save
filepathto save as
nameof dataset within the HDF5 file
Examples:
io_graphical_model.cxx, and opengmBuild.cxx.

Definition at line 329 of file graphicalmodel_hdf5.hxx.

+ Here is the call graph for this function: