52#ifndef GUM_BIF_XML_ID_WRITER_H
53#define GUM_BIF_XML_ID_WRITER_H
55#define TIXML_USE_TICPP
79 template <
typename GUM_SCALAR >
Head of abstract classe for export of influence diagram.
virtual ~BIFXMLIDWriter()
Destructor.
std::string _heading_()
Returns the header of the BIF file.
std::string _variableBloc_(const DiscreteVariable &var, int nodeType)
Returns a bloc defining a variable in the BIF format.
BIFXMLIDWriter()
Default constructor.
std::string _variableDefinition_(const NodeId &varNodeId, const InfluenceDiagram< GUM_SCALAR > &infdiag)
Returns a bloc defining a variable's table (if she has) in the BIF format.
std::string _documentend_()
Returns the end of the BIF file.
virtual void write(std::string filePath, const InfluenceDiagram< GUM_SCALAR > &infdiag)
Writes an Influence Diagram in the file referenced by filePath.
virtual void write(std::ostream &output, const InfluenceDiagram< GUM_SCALAR > &infdiag)
Writes an influence diagram in the given ouput stream.
Base class for discrete random variable.
IDWriter()
Default constructor.
Class representing an Influence Diagram.
Size NodeId
Type for node ids.
gum is the global namespace for all aGrUM entities