76 #ifndef DOXYGEN_SHOULD_SKIP_THIS 78 # include <agrum/BN/io/BIF/cocoR/Parser.h> 79 #endif // DOXYGEN_SHOULD_SKIP_THIS 125 template <
typename GUM_SCALAR >
191 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 199 #endif // BIF_READER_H Class representing a Bayesian Network.
BayesNet< GUM_SCALAR > * __bn
const std::string & streamName() const
name of readen file
bool errIsError(Idx i)
type of ith error or warning
std::string errMsg(Idx i)
message of ith error or warning
BayesNetFactory< GUM_SCALAR > * __factory
void showErrorCounts(std::ostream &o=std::cerr)
send on std::cerr the number of errors and the number of warnings
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 showElegantErrors(std::ostream &o=std::cerr)
send on std::cerr the list of errors
Pure virtual class for reading a BN from a file.
Size proceed() final
parse.
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.
Idx errCol(Idx i)
col of ith error or warning
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)
Definition of templatized reader of BIF files for Bayesian Networks.
Size errors()
publishing Errors API
BIF::Scanner & scanner()
Direct access to BIF scanner (mandatory for listener connection)
Size Idx
Type for indexes.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
Idx errLine(Idx i)
line of ith error or warning
A factory class to ease BayesNet construction.
BIFReader(BayesNet< GUM_SCALAR > *bn, const std::string &filename)
void showElegantErrorsAndWarnings(std::ostream &o=std::cerr)
send on std::cerr the list of errors or warnings