![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
Pure virtual class for reading a MRF from a file. More...
#include <agrum/MRF/io/MRFReader.h>
Public Member Functions | |
| MRFReader (MarkovRandomField< GUM_SCALAR > *MN, const std::string &filename) | |
| Constructor A reader is defined for reading a defined file. | |
| virtual | ~MRFReader () |
| Default destructor. | |
Pure virtual class for reading a MRF from a file.
Every class used to read the content of a Markov random field from a stream, or a file must be a subclass of MRFReader.
Definition at line 76 of file MRFReader.h.
| gum::MRFReader< GUM_SCALAR >::MRFReader | ( | MarkovRandomField< GUM_SCALAR > * | MN, |
| const std::string & | filename ) |
Constructor A reader is defined for reading a defined file.
Hence the 2 args of the constructor. Note that the MRF has to be built outside the reader. There is no delegation to create/destroy the MRF from inside the reader.
|
virtual |
Default destructor.