aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
gum::FMDPReader< GUM_SCALAR > Class Template Reference

Pure virtual class for reading a FMDP from a file. More...

#include <fmdpReader.h>

Inheritance diagram for gum::FMDPReader< GUM_SCALAR >:

Public Member Functions

 FMDPReader (FMDP< GUM_SCALAR > *fmdp, const std::string &filename)
 Constructor A reader is defined for reading a defined file.
virtual ~FMDPReader ()
 Default destructor.

Detailed Description

template<typename GUM_SCALAR>
class gum::FMDPReader< GUM_SCALAR >

Pure virtual class for reading a FMDP from a file.

Every class used to read the content of a Factored Markov Decision Process from a stream, or a file must be a subclass of FMDPReader.

Definition at line 81 of file fmdpReader.h.

Constructor & Destructor Documentation

◆ FMDPReader()

template<typename GUM_SCALAR>
gum::FMDPReader< GUM_SCALAR >::FMDPReader ( FMDP< GUM_SCALAR > * fmdp,
const std::string & filename )

Constructor A reader is defined for reading a defined file.

Hence the 2 args of the constructor. Note that the FMDP has to be built outside the reader. There is no delegation to create/destroy the FMDP from inside the reader.

◆ ~FMDPReader()

template<typename GUM_SCALAR>
virtual gum::FMDPReader< GUM_SCALAR >::~FMDPReader ( )
virtual

Default destructor.


The documentation for this class was generated from the following file: