29 #ifndef GUM_O3PRMBNWRITER_H 30 #define GUM_O3PRMBNWRITER_H 54 template <
typename GUM_SCALAR >
81 virtual void write(std::ostream& output,
93 virtual void write(
const std::string& filePath,
101 template <
typename VARTYPE >
117 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 125 #endif // GUM_O3PRMBNWRITER_H Base class for discrete random variable.
std::string __extractType(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
Class representing the minimal interface for Bayesian Network.
gum is the global namespace for all aGrUM entities
std::string __extractCPT(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
O3prmBNWriter()
Default constructor.
std::string __extractRangeType(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
<agrum/PRM/o3prm/O3prmBNWriter.h>
std::string __extractLabelizedType(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
std::string __extractName(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
std::string __extractAttribute(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
Header of gumRangeVariable.
std::string __extractDiscretizedType(const VARTYPE *var)
virtual ~O3prmBNWriter()
Destructor.
Definition of abstract classes for file output manipulation of Bayesian Networks. ...
Pure virtual class for writting a BN to a file.
Size NodeId
Type for node ids.
std::string __extractParents(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
virtual void write(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes an bayes net in the given ouput stream.