Project
Loading...
Searching...
No Matches
o2::rans::SizeEstimate Class Reference

#include <SizeEstimate.h>

Public Member Functions

 SizeEstimate ()=default
 
template<typename source_T >
 SizeEstimate (const Metrics< source_T > &metrics) noexcept
 
size_t getEntropySizeB () const
 
template<typename T = uint8_t>
size_t getCompressedDatasetSize (double_t safetyFactor=1.2) const
 
template<typename T = uint8_t>
size_t getCompressedDictionarySize (double_t safetyFactor=2) const
 
template<typename T = uint8_t>
size_t getIncompressibleSize (double_t safetyFactor=1.2) const
 
template<typename T = uint8_t>
size_t getPackedDatasetSize (double_t safetyFactor=1) const
 
bool preferPacking (double_t weight=1) const
 

Detailed Description

Definition at line 47 of file SizeEstimate.h.

Constructor & Destructor Documentation

◆ SizeEstimate() [1/2]

o2::rans::SizeEstimate::SizeEstimate ( )
inlinedefault

◆ SizeEstimate() [2/2]

template<typename source_T >
o2::rans::SizeEstimate::SizeEstimate ( const Metrics< source_T > &  metrics)
inlineexplicitnoexcept

Definition at line 76 of file SizeEstimate.h.

Member Function Documentation

◆ getCompressedDatasetSize()

template<typename T >
size_t o2::rans::SizeEstimate::getCompressedDatasetSize ( double_t  safetyFactor = 1.2) const
inline

Definition at line 105 of file SizeEstimate.h.

◆ getCompressedDictionarySize()

template<typename T >
size_t o2::rans::SizeEstimate::getCompressedDictionarySize ( double_t  safetyFactor = 2) const
inline

Definition at line 111 of file SizeEstimate.h.

◆ getEntropySizeB()

size_t o2::rans::SizeEstimate::getEntropySizeB ( ) const
inline

Definition at line 99 of file SizeEstimate.h.

◆ getIncompressibleSize()

template<typename T >
size_t o2::rans::SizeEstimate::getIncompressibleSize ( double_t  safetyFactor = 1.2) const
inline

Definition at line 118 of file SizeEstimate.h.

◆ getPackedDatasetSize()

template<typename T >
size_t o2::rans::SizeEstimate::getPackedDatasetSize ( double_t  safetyFactor = 1) const
inline

Definition at line 124 of file SizeEstimate.h.

◆ preferPacking()

bool o2::rans::SizeEstimate::preferPacking ( double_t  weight = 1) const
inline

Definition at line 129 of file SizeEstimate.h.


The documentation for this class was generated from the following file: