32 #ifndef GUM_O3PRMBNWRITER_H 33 #define GUM_O3PRMBNWRITER_H 57 template <
typename GUM_SCALAR >
84 virtual void write(std::ostream& output,
96 virtual void write(
const std::string& filePath,
104 template <
typename VARTYPE >
120 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 128 #endif // GUM_O3PRMBNWRITER_H Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
std::string __extractType(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
Class representing the minimal interface for Bayesian Network.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
std::string __extractCPT(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
O3prmBNWriter()
Default constructor.
std::string __extractRangeType(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
<agrum/PRM/o3prm/O3prmBNWriter.h>
std::string __extractLabelizedType(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
std::string __extractName(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
std::string __extractAttribute(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
std::string __extractDiscretizedType(const VARTYPE *var)
virtual ~O3prmBNWriter()
Destructor.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Pure virtual class for writting a BN to a file.
Size NodeId
Type for node ids.
std::string __extractParents(const IBayesNet< GUM_SCALAR > &bn, NodeId node)
virtual void write(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) final
Writes an bayes net in the given ouput stream.