32 #ifndef GUM_UAIWRITER_H 33 #define GUM_UAIWRITER_H 56 template <
typename GUM_SCALAR >
94 void write(
const std::string& filePath,
107 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 114 #endif // GUM_UAIWRITER_H
~UAIWriter() final
Destructor.
Class representing the minimal interface for Bayesian Network.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
<agrum/BN/io/UAI/UAIWriter.h>
std::string __cptBloc(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
void write(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes an bayes net in the given ouput stream.
UAIWriter()
Default constructor.
std::string __preambule(const IBayesNet< GUM_SCALAR > &bn)
Returns the header of the BIF file.
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.
Size NodeId
Type for node ids.