45 template <
typename GUM_SCALAR >
82 void write(
const std::string& filePath,
92 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 100 #endif // DSLWRITER_H
~DSLWriter() final
Destructor.
Writes a IBayesNet in the DSL format.
Base class for discrete random variable.
Class representing the minimal interface for Bayesian Network.
gum is the global namespace for all aGrUM entities
void write(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes a Bayesian Network in the output stream using the DSL format.
Templates implementation of bns/io/gumBNWriter.h classes.
std::string __variableBloc(const IBayesNet< GUM_SCALAR > &bn, const DiscreteVariable &var)
DSLWriter()
Default constructor.
Definition of abstract classes for file output manipulation of Bayesian Networks. ...
Pure virtual class for writting a BN to a file.