52#ifndef GUM_GUM_BN_WRITER_H
53#define GUM_GUM_BN_WRITER_H
79 template < GUM_Numeric GUM_SCALAR >
136#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Definition of abstract classes for file output manipulation of Bayesian networks.
BNWriter()
Default constructor.
int _indent_
The indentation level for the output.
GumBNWriter(const GumBNWriter &)=delete
Default constructor.
bool _binary_
If true, the output will be in binary format, otherwise in text format.
GumBNWriter(GumBNWriter &&) noexcept=delete
Default constructor.
~GumBNWriter() override
Destructor.
void _doWrite(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes a Bayesian network in the output stream using the BN format.
GumBNWriter(bool binary=false, int indent=-1)
Default constructor.
Class representing the minimal interface for Bayesian network with no numerical data.
gum is the global namespace for all aGrUM entities