52#ifndef GUM_XDSL_BN_WRITER_H
53#define GUM_XDSL_BN_WRITER_H
55#define TIXML_USE_TICPP
77 template <
typename GUM_SCALAR >
153#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.
void _endExtension_(std::ostream &output)
void _documentEnd_(std::ostream &output)
send to output the end of the XDSL file.
XDSLBNWriter(const XDSLBNWriter &)=default
Default constructor.
XDSLBNWriter()
Default constructor.
XDSLBNWriter(XDSLBNWriter &&) noexcept=default
Default constructor.
void _variableBloc_(std::ostream &output, const NodeId &varNodeId, const IBayesNet< GUM_SCALAR > &bn)
send to output a bloc defining a variable in the XDSL format.
void _variableExtension_(std::ostream &output, const NodeId &varNodeId, const IBayesNet< GUM_SCALAR > &bn)
send to output a bloc defining a variable's extensoion in the XDSL
void _heading_(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn)
send to output the header of the XDSL file.
void _doWrite(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes an bayes net in the given ouput stream.
void _headingExtension_(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn)
~XDSLBNWriter() override
Destructor.
Size NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities