30 #include <agrum/BN/io/BNWriter.h> 31 #include <agrum/agrum.h> 47 template <
typename GUM_SCALAR >
48 class DSLWriter:
public BNWriter< GUM_SCALAR > {
74 void write(std::ostream& output,
const IBayesNet< GUM_SCALAR >& bn) final;
84 void write(
const std::string& filePath,
85 const IBayesNet< GUM_SCALAR >& bn) final;
89 std::string variableBloc__(
const IBayesNet< GUM_SCALAR >& bn,
90 const DiscreteVariable& var);
94 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 95 extern template class gum::DSLWriter<
double >;