<agrum/PRM/o3prm/O3prmBNWriter.h>
More...
#include <O3prmBNWriter.h>
template<typename GUM_SCALAR>
class gum::O3prmBNWriter< GUM_SCALAR >
<agrum/PRM/o3prm/O3prmBNWriter.h>
Writes an bayes net in a text file with O3PRM format
This class export a bayes net into an text file, using O3PRM format
Definition at line 58 of file O3prmBNWriter.h.
◆ O3prmBNWriter()
template<typename GUM_SCALAR >
◆ ~O3prmBNWriter()
template<typename GUM_SCALAR >
◆ _extractAttribute_()
template<typename GUM_SCALAR >
◆ _extractCPT_()
template<typename GUM_SCALAR >
◆ _extractDiscretizedType_()
template<typename GUM_SCALAR >
template<typename VARTYPE >
std::string gum::O3prmBNWriter< GUM_SCALAR >::_extractDiscretizedType_ |
( |
const VARTYPE * |
var | ) |
|
|
private |
◆ _extractLabelizedType_()
template<typename GUM_SCALAR >
◆ _extractName_()
template<typename GUM_SCALAR >
◆ _extractParents_()
template<typename GUM_SCALAR >
◆ _extractRangeType_()
template<typename GUM_SCALAR >
◆ _extractType_()
template<typename GUM_SCALAR >
◆ write() [1/2]
template<typename GUM_SCALAR >
Writes an bayes net in the given ouput stream.
- Parameters
-
output | The output stream. |
bn | The bayes net writen in the stream. |
- Exceptions
-
IOError | Raised if an I/O error occurs. |
Implements gum::BNWriter< GUM_SCALAR >.
◆ write() [2/2]
template<typename GUM_SCALAR >
Writes an bayes net in the file referenced by filePath.
If the file doesn't exists, it is created. If the file exists, it's content will be erased.
- Parameters
-
filePath | The path to the file used to write the bayes net. |
bn | The bayes net written in the file. |
- Exceptions
-
IOError | Raised if an I/O error occurs. |
Implements gum::BNWriter< GUM_SCALAR >.
The documentation for this class was generated from the following file: