76 template <
typename 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 an Markov net in the given ouput stream.
~UAIMRFWriter()
Destructor.
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.
void write(const std::string &filePath, const IMarkovRandomField< GUM_SCALAR > &MN) final
Writes an Markov net in the file referenced by filePath.
gum is the global namespace for all aGrUM entities