52#ifndef GUM_CNF_WRITER_H
53#define GUM_CNF_WRITER_H
85 template <
typename >
class IApproximationPolicy =
ExactPolicy >
130 GUM_SCALAR
fromExact(const GUM_SCALAR& value) const override;
134#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Definition of abstract classes for file output manipulation of Bayesian networks.
BNWriter()
Default constructor.
GUM_SCALAR fromExact(const GUM_SCALAR &value) const override
Convert value to his approximation.
CNFWriter(const CNFWriter &)=default
Default constructor.
CNFWriter()
Default constructor.
CNFWriter(CNFWriter &&) noexcept=default
Default constructor.
void _doWrite(std::ostream &output, const IBayesNet< GUM_SCALAR > &bn) override=0
Writes a Bayesian network in the output stream using the BN format.
~CNFWriter() override
Destructor.
Class implementing exact approximation policy (meaning a value is approximate to itself).
Class representing the minimal interface for Bayesian network with no numerical data.
Complete concept for GUM_SCALAR template parameter.
Classes used to practice approximation on value.
gum is the global namespace for all aGrUM entities