91#ifndef GUM_XDSL_BN_READER_H
92#define GUM_XDSL_BN_READER_H
94#define TIXML_USE_TICPP
118 template <
typename GUM_SCALAR >
174#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Definition of abstract classes for file input manipulation of Bayesian networks.
BNReader(BayesNet< GUM_SCALAR > *bn, const std::string &filename)
Constructor A reader is defined for reading a defined file.
Class representing a Bayesian network.
void _parsingExtension_(ticpp::Element *nodesNetwork)
Parsing xml element containing extentions on variables.
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.
Size _parsingCpts_(ticpp::Element *cptsNetwork)
Parsing xml element containing data on variables.
BayesNet< GUM_SCALAR > * _bn_
An handle to the bayes net in which will be load the content of the xml filePath.
Size proceed() final
Reads the bayes net from the file referenced by filePath given at the creation of class.
~XDSLBNReader()
Default destructor.
XDSLBNReader(BayesNet< GUM_SCALAR > *bn, const std::string &filePath)
Constructor A reader is created to reading a defined file.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
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.
ticpp is a TinyXML wrapper that uses a lot more C++ ideals.