52#ifndef GUM_O3PRMBNWRITER_H
53#define GUM_O3PRMBNWRITER_H
76 template <
typename GUM_SCALAR >
122 template <
typename VARTYPE >
137#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Definition of abstract classes for file output manipulation of Bayesian networks.
BNWriter()
Default constructor.
Class representing the minimal interface for Bayesian network with no numerical data.
<agrum/PRM/o3prm/O3prmBNWriter.h>
std::string _extractRangeType_(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
void _doWrite(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes an bayes net in the given ouput stream.
void _doWrite(const std::string &filePath, const IBayesNet< GUM_SCALAR > &bn) final
Writes an bayes net in the file referenced by filePath.
std::string _extractDiscretizedType_(const VARTYPE *var)
std::string _extractParents_(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
std::string _extractCPT_(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
~O3prmBNWriter() override
Destructor.
std::string _extractLabelizedType_(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
std::string _extractType_(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
std::string _extractAttribute_(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
std::string _extractName_(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
O3prmBNWriter()
Default constructor.
Size NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities