![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
<agrum/BN/io/BIFXML/BIFXMLBNReader.h> More...
#include <BIFXMLBNReader.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 | |
BIFXMLBNReader (BayesNet< GUM_SCALAR > *bn, const std::string &filePath) | |
Constructor A reader is created to reading a defined file. More... | |
~BIFXMLBNReader () final | |
Default destructor. More... | |
Size | proceed () final |
Reads the bayes net from the file referenced by filePath given at the creation of class. More... | |
<agrum/BN/io/BIFXML/BIFXMLBNReader.h>
Read an bayes net from an XML file with BIF format.
This class import an bayes net 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 BIFXMLBNReader.h.
gum::BIFXMLBNReader< GUM_SCALAR >::BIFXMLBNReader | ( | BayesNet< GUM_SCALAR > * | bn, |
const std::string & | filePath | ||
) |
Constructor A reader is created to reading a defined file.
Note that an BN as to be created before and given in parameter.
|
final |
Default destructor.
|
private |
fill the diagram
|
private |
Parsing xml element containing data on variables.
|
finalvirtual |
Reads the bayes net from the file referenced by filePath given at the creation of class.
Implements gum::BNReader< GUM_SCALAR >.
|
private |
An handle to the bayes net in which will be load the content of the xml filePath.
Definition at line 146 of file BIFXMLBNReader.h.
|
private |
the path to the xml filePath
Definition at line 151 of file BIFXMLBNReader.h.
gum::Signaler2< int, std::string > gum::BIFXMLBNReader< GUM_SCALAR >::onProceed |
Signaler used to indicates how many percent of the Xml files have been parsed yet.
Definition at line 129 of file BIFXMLBNReader.h.