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