32 #ifndef GUM_CDCNF_WRITER_H 33 #define GUM_CDCNF_WRITER_H 40 #include <agrum/BN/io/cnf/CNFWriter.h> 41 #include <agrum/agrum.h> 42 #include <agrum/tools/core/approximations/approximationPolicy.h> 43 #include <agrum/tools/core/hashTable.h> 59 template <
typename GUM_SCALAR,
template <
typename >
class IApproximationPolicy = ExactPolicy >
60 class ContextualDependenciesCNFWriter:
public CNFWriter< GUM_SCALAR, IApproximationPolicy > {
70 ContextualDependenciesCNFWriter();
75 ~ContextualDependenciesCNFWriter() final;
86 void write(std::ostream& output,
const IBayesNet< GUM_SCALAR >& bn) final;
96 void write(
const std::string& filePath,
const IBayesNet< GUM_SCALAR >& bn) final;
100 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 101 extern template class ContextualDependenciesCNFWriter<
double >;
106 #include <agrum/BN/io/cnf/ContextualDependenciesCNFWriter_tpl.h>