30 #ifndef GUM_BIF_WRITER_H 31 #define GUM_BIF_WRITER_H 56 template <
typename GUM_SCALAR >
93 void write(
const std::string& filePath,
113 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 120 #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.
gum is the global namespace for all aGrUM entities
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)
Definition of abstract classes for file output manipulation of Bayesian Networks. ...
Pure virtual class for writting a BN to a file.
BIFWriter()
Default constructor.