52#ifndef GUM_UAI_MRF_WRITER_H
53#define GUM_UAI_MRF_WRITER_H
76 template < GUM_Numeric GUM_SCALAR >
123 const Tensor< GUM_SCALAR >& clikpot);
127#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Definition of abstract classes for file output manipulation of Markov random fields.
Class representing the minimal interface for Markov random field.
MRFWriter()
Default constructor.
<agrum/MRF/io/UAI/UAIMRFWriter.h>
void write(std::ostream &output, const IMarkovRandomField< GUM_SCALAR > &MN) final
Writes a Markov net to the given output stream.
void write(std::string_view filePath, const IMarkovRandomField< GUM_SCALAR > &MN) final
Writes an Markov net in the file referenced by filePath.
std::string _preambule_(const IMarkovRandomField< GUM_SCALAR > &MN)
Returns the header of the BIF file.
std::string _factorBloc_(const IMarkovRandomField< GUM_SCALAR > &MN, const Tensor< GUM_SCALAR > &clikpot)
UAIMRFWriter()
Default constructor.
~UAIMRFWriter() override
Destructor.
gum is the global namespace for all aGrUM entities