52#ifndef GUM_BIF_XML_BN_WRITER_H
53#define GUM_BIF_XML_BN_WRITER_H
55#define TIXML_USE_TICPP
80 template <
typename GUM_SCALAR >
150#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Definition of abstract classes for file output manipulation of Bayesian networks.
BIFXMLBNWriter()
Default constructor.
std::string _variableBloc_(const DiscreteVariable &var)
Returns a bloc defining a variable in the BIF format.
std::string _documentend_()
Returns the end of the BIF file.
BIFXMLBNWriter(const BIFXMLBNWriter &)=default
Default constructor.
void _doWrite(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes an bayes net in the given ouput stream.
std::string _variableDefinition_(const NodeId &varNodeId, const IBayesNet< GUM_SCALAR > &bn)
Returns a bloc defining a variable's table (if she has) in the BIF format.
BIFXMLBNWriter(BIFXMLBNWriter &&) noexcept=default
Default constructor.
std::string _heading_(const IBayesNet< GUM_SCALAR > &bn)
Returns the header of the BIF file.
~BIFXMLBNWriter() override
Destructor.
BNWriter()
Default constructor.
Base class for discrete random variable.
Class representing the minimal interface for Bayesian network with no numerical data.
Size NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities