33 #ifndef GUM_NET_WRITER_H 34 #define GUM_NET_WRITER_H 59 template <
typename GUM_SCALAR >
96 void write(
const std::string& filePath,
113 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 120 #endif // GUM_NET_WRITER_H aGrUM's Potential is a multi-dimensional array with tensor operators.
NetWriter()
Default constructor.
Base class for discrete random variable.
Class representing the minimal interface for Bayesian Network.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Writes a IBayesNet in the BN format.
std::string __header(const IBayesNet< GUM_SCALAR > &bn)
void write(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes a Bayesian Network in the output stream using the BN format.
~NetWriter() final
Destructor.
std::string __variableCPT(const Potential< GUM_SCALAR > &cpt)
std::string __variableBloc(const DiscreteVariable &var)
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Pure virtual class for writting a BN to a file.