51#ifndef UAI_BN_WRITER_H
52#define UAI_BN_WRITER_H
73 template <
typename GUM_SCALAR >
129#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.
UAIBNWriter(const UAIBNWriter &)=default
Default constructor.
UAIBNWriter()
Default constructor.
std::string _cptBloc_(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
UAIBNWriter(UAIBNWriter &&) noexcept=default
Default constructor.
void _doWrite(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes an bayes net in the given ouput stream.
~UAIBNWriter() override
Destructor.
std::string _preambule_(const IBayesNet< GUM_SCALAR > &bn)
Returns the header of the BIF file.
Size NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities