MEPP2 Project
Public Member Functions | Private Attributes | List of all members
FEVV::Filters::Parameters Class Reference

Parameters contains the compression parameters except the stopping criteria. More...

#include <Parameters.h>

Collaboration diagram for FEVV::Filters::Parameters:
Collaboration graph

Public Member Functions

PREDICTION_TYPE get_prediction () const
 
VKEPT_POSITION get_vkept_position () const
 
METRIC_TYPE get_metric () const
 
bool get_first_call () const
 
bool get_allow_duplicates () const
 
 Parameters (PREDICTION_TYPE __prediction=PREDICTION_TYPE::BUTTERFLY, VKEPT_POSITION __vkept_pos=VKEPT_POSITION::MIDPOINT, METRIC_TYPE __metric=METRIC_TYPE::EDGE_LENGTH, bool __first_call=true, bool __allow_duplicates=false, int __quantization_bits=16)
 
 ~Parameters ()
 
void set_first_call (bool _first)
 
int get_quantization () const
 
std::string get_prediction_type_as_string () const
 
std::string get_vkept_type_as_string () const
 
std::string get_metric_type_as_string () const
 
void set_methods (METRIC_TYPE metr, VKEPT_POSITION vk)
 

Private Attributes

PREDICTION_TYPE _prediction
 
VKEPT_POSITION _vkept_pos
 
METRIC_TYPE _metric
 
bool _first_call
 
bool _allow_duplicates
 
int _quantization_bits
 

Detailed Description

Parameters contains the compression parameters except the stopping criteria.

Definition at line 45 of file Parameters.h.

Constructor & Destructor Documentation

◆ Parameters()

FEVV::Filters::Parameters::Parameters ( PREDICTION_TYPE  __prediction = PREDICTION_TYPE::BUTTERFLY,
VKEPT_POSITION  __vkept_pos = VKEPT_POSITION::MIDPOINT,
METRIC_TYPE  __metric = METRIC_TYPE::EDGE_LENGTH,
bool  __first_call = true,
bool  __allow_duplicates = false,
int  __quantization_bits = 16 
)
inline

Definition at line 61 of file Parameters.h.

◆ ~Parameters()

FEVV::Filters::Parameters::~Parameters ( )
inline

Definition at line 76 of file Parameters.h.

Member Function Documentation

◆ get_allow_duplicates()

bool FEVV::Filters::Parameters::get_allow_duplicates ( ) const
inline

Definition at line 60 of file Parameters.h.

Here is the caller graph for this function:

◆ get_first_call()

bool FEVV::Filters::Parameters::get_first_call ( ) const
inline

Definition at line 59 of file Parameters.h.

◆ get_metric()

METRIC_TYPE FEVV::Filters::Parameters::get_metric ( ) const
inline

Definition at line 58 of file Parameters.h.

Here is the caller graph for this function:

◆ get_metric_type_as_string()

std::string FEVV::Filters::Parameters::get_metric_type_as_string ( ) const
inline

Definition at line 125 of file Parameters.h.

◆ get_prediction()

PREDICTION_TYPE FEVV::Filters::Parameters::get_prediction ( ) const
inline

Definition at line 56 of file Parameters.h.

Here is the caller graph for this function:

◆ get_prediction_type_as_string()

std::string FEVV::Filters::Parameters::get_prediction_type_as_string ( ) const
inline

Definition at line 80 of file Parameters.h.

◆ get_quantization()

int FEVV::Filters::Parameters::get_quantization ( ) const
inline

Definition at line 78 of file Parameters.h.

Here is the caller graph for this function:

◆ get_vkept_position()

VKEPT_POSITION FEVV::Filters::Parameters::get_vkept_position ( ) const
inline

Definition at line 57 of file Parameters.h.

Here is the caller graph for this function:

◆ get_vkept_type_as_string()

std::string FEVV::Filters::Parameters::get_vkept_type_as_string ( ) const
inline

Definition at line 107 of file Parameters.h.

◆ set_first_call()

void FEVV::Filters::Parameters::set_first_call ( bool  _first)
inline

Definition at line 77 of file Parameters.h.

◆ set_methods()

void FEVV::Filters::Parameters::set_methods ( METRIC_TYPE  metr,
VKEPT_POSITION  vk 
)
inline

Definition at line 147 of file Parameters.h.

Member Data Documentation

◆ _allow_duplicates

bool FEVV::Filters::Parameters::_allow_duplicates
private

Definition at line 52 of file Parameters.h.

◆ _first_call

bool FEVV::Filters::Parameters::_first_call
private

Definition at line 51 of file Parameters.h.

◆ _metric

METRIC_TYPE FEVV::Filters::Parameters::_metric
private

Definition at line 50 of file Parameters.h.

◆ _prediction

PREDICTION_TYPE FEVV::Filters::Parameters::_prediction
private

Definition at line 48 of file Parameters.h.

◆ _quantization_bits

int FEVV::Filters::Parameters::_quantization_bits
private

Definition at line 53 of file Parameters.h.

◆ _vkept_pos

VKEPT_POSITION FEVV::Filters::Parameters::_vkept_pos
private

Definition at line 49 of file Parameters.h.


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