25 #include <queso/VectorCdf.h>
30 template<
class V,
class M>
35 m_env (pdfSupport.env()),
36 m_prefix ((std::string)(prefix)+
"Cdf_"),
37 m_pdfSupport(pdfSupport)
52 template<
class V,
class M>
57 template<
class V,
class M>
64 template<
class V,
class M>
70 const std::set<unsigned int>& )
const
72 std::cerr <<
"WARNING: BaseVectorCdf<V,M>::subWriteContents() being used..."
82 template <
class V,
class M>
89 for (
unsigned int i = 0; i < cdf1.
pdfSupport().vectorSpace().dimLocal(); ++i) {
BaseVectorCdf(const char *prefix, const VectorSet< V, M > &pdfSupport)
Default constructor.
void horizontalDistances(const BaseVectorCdf< V, M > &cdf1, const BaseVectorCdf< V, M > &cdf2, const V &epsilonVec, V &distances)
It calculated the maximum horizontal distances between two vector CDFs.
double horizontalDistance(const BaseScalarCdf< T > &cdf1, const BaseScalarCdf< T > &cdf2, double epsilon)
It calculated the maximum horizontal distance between two CDFs.
virtual const BaseScalarCdf< double > & cdf(unsigned int rowId) const =0
A templated (base) class for handling CDFs of vector functions.
A templated class for handling sets.
virtual ~BaseVectorCdf()
Virtual destructor.
const BaseEnvironment & m_env
const VectorSet< V, M > & pdfSupport() const
Returns the image set (support) of the PDF; access to protected attribute m_pdfSupport.
virtual void subWriteContents(const std::string &varNamePrefix, const std::string &fileName, const std::string &fileType, const std::set< unsigned int > &allowedSubEnvIds) const
Writes the CDF of an allowed sub-environment to a file.
unsigned int displayVerbosity() const
std::ofstream * subDisplayFile() const
Access function for m_subDisplayFile (displays file on stream).