71 #ifndef GUM_BIF_XML_BN_READER_H 72 #define GUM_BIF_XML_BN_READER_H 74 #define TIXML_USE_TICPP 101 template <
typename GUM_SCALAR >
155 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 163 #endif // GUM_BIF_XML_BN_READER_H Class representing a Bayesian Network.
void __parsingVariables(ticpp::Element *parentNetwork)
Parsing xml element containing data on variables.
Wrapper around TiXmlElement.
BayesNet< GUM_SCALAR > * __bn
An handle to the bayes net in which will be load the content of the xml filePath. ...
std::string __filePath
the path to the xml filePath
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Pure virtual class for reading a BN from a file.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
void __fillingBN(ticpp::Element *parentNetwork)
fill the diagram
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.
<agrum/BN/io/BIFXML/BIFXMLBNReader.h>
gum::Signaler2< int, std::string > onProceed
Signaler used to indicates how many percent of the Xml files have been parsed yet.
Size proceed() final
Reads the bayes net from the file referenced by filePath given at the creation of class...
std::size_t Size
In aGrUM, hashed values are unsigned long int.
BIFXMLBNReader(BayesNet< GUM_SCALAR > *bn, const std::string &filePath)
Constructor A reader is created to reading a defined file.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
~BIFXMLBNReader() final
Default destructor.