70 #ifndef GUM_BIF_XML_ID_READER_H 71 #define GUM_BIF_XML_ID_READER_H 73 #define TIXML_USE_TICPP 98 template <
typename GUM_SCALAR >
107 const std::string& filePath);
157 #endif // GUM_BIF_XML_ID_READER_H Wrapper around TiXmlElement.
std::string __filePath
the path to the xml filePath
gum::Signaler2< int, std::string > onProceed
Signaler used to indicates how many percent of the Xml files have been parsed yet.
Definition of abstract classes for import of Influence Diagram from a file.
Read an influence diagram from an XML file with BIF format.
gum is the global namespace for all aGrUM entities
void __parsingVariables(ticpp::Element *parentNetwork)
Parsing xml element containing data on variables.
void __fillingDiagram(ticpp::Element *parentNetwork)
fill the diagram
BIFXMLIDReader(InfluenceDiagram< GUM_SCALAR > *infdiag, const std::string &filePath)
Constructor A reader is created to reading a defined file.
InfluenceDiagram< GUM_SCALAR > * __infdiag
An handle to the influence diagram in which will be load the content of the xml filePath.
~BIFXMLIDReader()
Default destructor.
Pure virtual class for importing an ID from a file.
virtual void proceed()
Reads the influence diagram from the file referenced by filePath given at the creation of class...
Base class for labelized discrete random variables.
Class representing an Influence Diagram.