![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
Read an influence diagram from an XML file with BIF format. More...
#include <BIFXMLIDReader.h>
Public Attributes | |
gum::Signaler2< int, std::string > | onProceed |
Signaler used to indicates how many percent of the Xml files have been parsed yet. More... | |
Public Member Functions | |
BIFXMLIDReader (InfluenceDiagram< GUM_SCALAR > *infdiag, const std::string &filePath) | |
Constructor A reader is created to reading a defined file. More... | |
~BIFXMLIDReader () | |
Default destructor. More... | |
virtual void | proceed () |
Reads the influence diagram from the file referenced by filePath given at the creation of class. More... | |
Read an influence diagram from an XML file with BIF format.
This class import an influence diagram from an XML files using BIF format See http://www-2.cs.cmu.edu/afs/cs/user/fgcozman/www/Research/InterchangeFormat/ for information about this format.
Definition at line 102 of file BIFXMLIDReader.h.
gum::BIFXMLIDReader< GUM_SCALAR >::BIFXMLIDReader | ( | InfluenceDiagram< GUM_SCALAR > * | infdiag, |
const std::string & | filePath | ||
) |
Constructor A reader is created to reading a defined file.
Note that an ID as to be created before and given in parameter.
gum::BIFXMLIDReader< GUM_SCALAR >::~BIFXMLIDReader | ( | ) |
Default destructor.
|
private |
fill the diagram
|
private |
Parsing xml element containing data on variables.
|
virtual |
Reads the influence diagram from the file referenced by filePath given at the creation of class.
Implements gum::IDReader< GUM_SCALAR >.
|
private |
the path to the xml filePath
Definition at line 152 of file BIFXMLIDReader.h.
|
private |
An handle to the influence diagram in which will be load the content of the xml filePath.
Definition at line 147 of file BIFXMLIDReader.h.
gum::Signaler2< int, std::string > gum::BIFXMLIDReader< GUM_SCALAR >::onProceed |
Signaler used to indicates how many percent of the Xml files have been parsed yet.
Definition at line 129 of file BIFXMLIDReader.h.