29 #ifndef GUM_UAIWRITER_H 30 #define GUM_UAIWRITER_H 53 template <
typename GUM_SCALAR >
91 void write(
const std::string& filePath,
104 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 111 #endif // GUM_UAIWRITER_H
~UAIWriter() final
Destructor.
Class representing the minimal interface for Bayesian Network.
gum is the global namespace for all aGrUM entities
<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.
Definition of abstract classes for file output manipulation of Bayesian Networks. ...
Pure virtual class for writting a BN to a file.
Size NodeId
Type for node ids.