![]() |
aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
|
Definition of templatized reader of FMDPDat files for Factored Markov Decision Processes. More...
#include <fmdpDatReader.h>
Public Member Functions | |
| FMDPDatReader (FMDP< GUM_SCALAR > *fmdp, const std::string &filename) | |
| ~FMDPDatReader () | |
| MDPDAT::Scanner & | scanner () |
| Direct access to FMDPDat scanner (mandatory for listener connection). | |
| const std::string & | streamName () const |
| name of readen file | |
| bool | trace () const |
| accessor to trace function (just write the number of parser line) | |
| void | trace (bool b) |
| Size | proceed () |
| parse. | |
| Size | errors () |
| publishing Errors API | |
| Size | warnings () |
| Idx | errLine (Idx i) |
| line of ith error or warning | |
| Idx | errCol (Idx i) |
| col of ith error or warning | |
| bool | errIsError (Idx i) |
| type of ith error or warning | |
| std::string | errMsg (Idx i) |
| message of ith error or warning | |
| void | showElegantErrors (std::ostream &o=std::cerr) |
| send on std::cerr the list of errors | |
| void | showElegantErrorsAndWarnings (std::ostream &o=std::cerr) |
| send on std::cerr the list of errors or warnings | |
| void | showErrorCounts (std::ostream &o=std::cerr) |
| send on std::cerr the number of errors and the number of warnings | |
Protected Attributes | |
| FMDP< GUM_SCALAR > * | _fmdp_ |
| FMDPFactory< GUM_SCALAR > * | _factory_ |
| MDPDAT::Scanner * | _scanner_ |
| MDPDAT::Parser * | _parser_ |
| std::string | _streamName_ |
| bool | _traceScanning_ |
| bool | _parseDone_ |
| bool | _ioerror_ |
Definition of templatized reader of FMDPDat files for Factored Markov Decision Processes.
Definition at line 112 of file fmdpDatReader.h.
| gum::FMDPDatReader< GUM_SCALAR >::FMDPDatReader | ( | FMDP< GUM_SCALAR > * | fmdp, |
| const std::string & | filename ) |
| gum::FMDPDatReader< GUM_SCALAR >::~FMDPDatReader | ( | ) |
| Idx gum::FMDPDatReader< GUM_SCALAR >::errCol | ( | Idx | i | ) |
col of ith error or warning
| bool gum::FMDPDatReader< GUM_SCALAR >::errIsError | ( | Idx | i | ) |
type of ith error or warning
| Idx gum::FMDPDatReader< GUM_SCALAR >::errLine | ( | Idx | i | ) |
line of ith error or warning
| std::string gum::FMDPDatReader< GUM_SCALAR >::errMsg | ( | Idx | i | ) |
message of ith error or warning
| Size gum::FMDPDatReader< GUM_SCALAR >::errors | ( | ) |
publishing Errors API
| Size gum::FMDPDatReader< GUM_SCALAR >::proceed | ( | ) |
parse.
| IOError | if file not exists |
Referenced by gum::FMDPSimulator::FMDPSimulator().
| MDPDAT::Scanner & gum::FMDPDatReader< GUM_SCALAR >::scanner | ( | ) |
Direct access to FMDPDat scanner (mandatory for listener connection).
| IOError | if file not exists |
| void gum::FMDPDatReader< GUM_SCALAR >::showElegantErrors | ( | std::ostream & | o = std::cerr | ) |
send on std::cerr the list of errors
| void gum::FMDPDatReader< GUM_SCALAR >::showElegantErrorsAndWarnings | ( | std::ostream & | o = std::cerr | ) |
send on std::cerr the list of errors or warnings
| void gum::FMDPDatReader< GUM_SCALAR >::showErrorCounts | ( | std::ostream & | o = std::cerr | ) |
send on std::cerr the number of errors and the number of warnings
| const std::string & gum::FMDPDatReader< GUM_SCALAR >::streamName | ( | ) | const |
name of readen file
| bool gum::FMDPDatReader< GUM_SCALAR >::trace | ( | ) | const |
accessor to trace function (just write the number of parser line)
Referenced by gum::FMDPSimulator::FMDPSimulator().
| void gum::FMDPDatReader< GUM_SCALAR >::trace | ( | bool | b | ) |
| Size gum::FMDPDatReader< GUM_SCALAR >::warnings | ( | ) |
|
protected |
Definition at line 162 of file fmdpDatReader.h.
|
protected |
Definition at line 161 of file fmdpDatReader.h.
|
protected |
Definition at line 172 of file fmdpDatReader.h.
|
protected |
Definition at line 168 of file fmdpDatReader.h.
|
protected |
Definition at line 164 of file fmdpDatReader.h.
|
protected |
Definition at line 163 of file fmdpDatReader.h.
|
protected |
Definition at line 166 of file fmdpDatReader.h.
|
protected |
Definition at line 167 of file fmdpDatReader.h.