32 #ifndef DOXYGEN_SHOULD_SKIP_THIS 34 # undef COCO_PARSER_H__ 35 # undef COCO_SCANNER_H__ 36 # include <agrum/BN/io/net/cocoR/Parser.h> 37 #endif // DOXYGEN_SHOULD_SKIP_THIS 52 template <
typename GUM_SCALAR >
133 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 141 #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
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.
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
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
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