73 #ifndef DOXYGEN_SHOULD_SKIP_THIS 75 # include <agrum/BN/io/BIF/cocoR/Parser.h> 76 #endif // DOXYGEN_SHOULD_SKIP_THIS 122 template <
typename GUM_SCALAR >
188 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 196 #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
Class representing Bayesian networks.
gum is the global namespace for all aGrUM entities
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.
Definition of abstract classes for file input manipulation of Bayesian Networks.
Headers of the BayesNetFactory class.
Idx errCol(Idx i)
col of ith error or warning
Definition of templatized reader of BIF files for Bayesian Networks.
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