29 #ifndef DOXYGEN_SHOULD_SKIP_THIS 31 # undef COCO_PARSER_H__ 32 # undef COCO_SCANNER_H__ 33 # include <agrum/BN/io/net/cocoR/Parser.h> 34 #endif // DOXYGEN_SHOULD_SKIP_THIS 49 template <
typename GUM_SCALAR >
130 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 138 #endif // NETREADER_H Class representing a Bayesian Network.
bool errIsError(Idx i)
type of ith error or warning
void showErrorsAndWarnings(std::ostream &o=std::cerr)
send on std::cerr the list of errors or warnings
BayesNet< GUM_SCALAR > * __bn
Class representing Bayesian networks.
gum is the global namespace for all aGrUM entities
bool trace() const
accessor to trace function (just write the number of parser line)
Pure virtual class for reading a BN from a file.
std::string errMsg(Idx i)
message of ith error or warning
BayesNetFactory< GUM_SCALAR > * __factory
Definition of abstract classes for file input manipulation of Bayesian Networks.
Size errors()
publishing Errors API
const std::string & streamName() const
name of readen file
net::Scanner & scanner()
Direct access to DSL scanner (mandatory for listener connection)
void showErrorCounts(std::ostream &o=std::cerr)
send on std::cerr the number of errors and the number of warnings
~NetReader() final
Default destructor.
Size proceed() final
parse.
Pure virtual class for reading a BN from a file.
void showElegantErrorsAndWarnings(std::ostream &o=std::cerr)
send on std::cerr the list of errors or warnings with contents
Size Idx
Type for indexes.
void showElegantErrors(std::ostream &o=std::cerr)
send on std::cerr the list of errorswith contents
std::size_t Size
In aGrUM, hashed values are unsigned long int.
NetReader(BayesNet< GUM_SCALAR > *bn, const std::string &filename)
Constructor A reader is defined for reading a defined file.
Idx errCol(Idx i)
col of ith error or warning
A factory class to ease BayesNet construction.
Idx errLine(Idx i)
line of ith error or warning