33 #ifndef GUM_BIF_WRITER_H 34 #define GUM_BIF_WRITER_H 59 template <
typename GUM_SCALAR >
96 void write(
const std::string& filePath,
116 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 123 #endif // GUM_BIF_WRITER_H ~BIFWriter() final
Destructor.
aGrUM's Potential is a multi-dimensional array with tensor operators.
std::string __variableBloc(const DiscreteVariable &var)
void write(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes a Bayesian Network in the output stream using the BIF format.
The generic class for storing (ordered) sequences of objects.
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 BIF format.
std::string __variableCPT(const Potential< GUM_SCALAR > &cpt)
Class for assigning/browsing values to tuples of discrete variables.
std::string __variablesLabels(const Sequence< const DiscreteVariable * > &varsSeq, const Instantiation &inst)
std::string __header(const IBayesNet< GUM_SCALAR > &bn)
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.
BIFWriter()
Default constructor.