93#ifndef GUM_BIF_XML_ID_READER_H
94#define GUM_BIF_XML_ID_READER_H
96#define TIXML_USE_TICPP
120 template <
typename GUM_SCALAR >
Definition of abstract classes for import of Influence Diagram from a file.
virtual void proceed()
Reads the influence diagram from the file referenced by filePath given at the creation of class.
~BIFXMLIDReader()
Default destructor.
void _parsingVariables_(ticpp::Element *parentNetwork)
Parsing xml element containing data on variables.
void _fillingDiagram_(ticpp::Element *parentNetwork)
fill the diagram
InfluenceDiagram< GUM_SCALAR > * _infdiag_
An handle to the influence diagram in which will be load the content of the xml filePath.
gum::Signaler2< int, std::string > onProceed
Signaler used to indicates how many percent of the Xml files have been parsed yet.
BIFXMLIDReader(InfluenceDiagram< GUM_SCALAR > *infdiag, const std::string &filePath)
Constructor A reader is created to reading a defined file.
std::string _filePath_
the path to the xml filePath
IDReader(InfluenceDiagram< GUM_SCALAR > *infdiag, const std::string &filePath)
Constructor A reader is created to reading a defined file.
Class representing an Influence Diagram.
Wrapper around TiXmlElement.
Base class for labelized discrete random variables.
gum is the global namespace for all aGrUM entities
ticpp is a TinyXML wrapper that uses a lot more C++ ideals.