aGrUM  0.16.0
fmdpReader.h
Go to the documentation of this file.
1 
33 #ifndef GUM_FMDP_READER_H
34 #define GUM_FMDP_READER_H
35 //======================================================================
36 #include <iostream>
37 #include <string>
38 //======================================================================
39 #include <agrum/agrum.h>
40 //======================================================================
41 #include <agrum/FMDP/fmdp.h>
42 //======================================================================
43 
44 
45 namespace gum {
46  /* ============================================================================
47  */
48  /* === READERS === */
49  /* ============================================================================
50  */
59  template < typename GUM_SCALAR >
60  class FMDPReader {
61  public:
70  FMDPReader(FMDP< GUM_SCALAR >* fmdp, const std::string& filename);
71 
75  virtual ~FMDPReader();
76 
83  virtual Size proceed() = 0;
84  };
85 
86 
87 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
88  extern template class FMDPReader< double >;
89 #endif
90 
91 
92 } /* namespace gum */
93 
94 
96 
97 #endif // GUM_FMDP_READER_H
virtual Size proceed()=0
Reads a Factored Markov Decision Process from the file referenced by filePath into` parameter fmdp...
virtual ~FMDPReader()
Default destructor.
Pure virtual class for reading a FMDP from a file.
Definition: fmdpReader.h:60
This class is used to implement factored decision process.
Definition: fmdp.h:57
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
FMDPReader(FMDP< GUM_SCALAR > *fmdp, const std::string &filename)
Constructor A reader is defined for reading a defined file.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Definition: types.h:48