67 #ifndef FMDP_DAT_READER_H 68 #define FMDP_DAT_READER_H 81 #ifndef DOXYGEN_SHOULD_SKIP_THIS 83 # include <agrum/FMDP/io/dat/cocoR/Parser.h> 84 #endif // DOXYGEN_SHOULD_SKIP_THIS 93 template <
typename GUM_SCALAR >
158 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 166 #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.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
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.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition of templatized reader of FMDPDat files for Factored Markov Decision Processes.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
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
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.
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.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
bool trace() const
accessor to trace function (just write the number of parser line)
Idx errLine(Idx i)
line of ith error or warning