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