64 #ifndef FMDP_DAT_READER_H 65 #define FMDP_DAT_READER_H 78 #ifndef DOXYGEN_SHOULD_SKIP_THIS 80 # include <agrum/FMDP/io/dat/cocoR/Parser.h> 81 #endif // DOXYGEN_SHOULD_SKIP_THIS 90 template <
typename GUM_SCALAR >
155 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 163 #endif // FMDP_DAT_READER_H bool errIsError(Idx i)
type of ith error or warning
FMDPDatReader(FMDP< GUM_SCALAR > *fmdp, const std::string &filename)
A factory class to ease Factored Markov Decision Process construction.
Definition of abstract classes for file input manipulation of Factored Markov Decision Process...
const std::string & streamName() const
name of readen file
Size errors()
publishing Errors API
Pure virtual class for reading a FMDP from a file.
FMDPFactory< GUM_SCALAR > * __factory
FMDP< GUM_SCALAR > * __fmdp
MDPDAT::Parser * __parser
Idx errCol(Idx i)
col of ith error or warning
This class is used to implement factored decision process.
gum is the global namespace for all aGrUM entities
Definition of templatized reader of FMDPDat files for Factored Markov Decision Processes.
Class for implementation of factored markov decision process.
void showElegantErrorsAndWarnings(std::ostream &o=std::cerr)
send on std::cerr the list of errors or warnings
MDPDAT::Scanner & scanner()
Direct access to FMDPDat scanner (mandatory for listener connection)
void showElegantErrors(std::ostream &o=std::cerr)
send on std::cerr the list of errors
MDPDAT::Scanner * __scanner
Headers of MultiDimFunctionGraph.
Headers of the FMDPFactory class.
void showErrorCounts(std::ostream &o=std::cerr)
send on std::cerr the number of errors and the number of warnings
Size Idx
Type for indexes.
std::string errMsg(Idx i)
message of ith error or warning
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Definition of templatized reader of dat files for Factored Markov Decision Process.
bool trace() const
accessor to trace function (just write the number of parser line)
Idx errLine(Idx i)
line of ith error or warning