Public Member Functions | Private Member Functions | Private Attributes | List of all members
ISM::WeightedSum Class Reference

#include <WeightedSum.hpp>

Inheritance diagram for ISM::WeightedSum:
Inheritance graph
[legend]

Public Member Functions

double calculateCost (TopologyPtr instance)
 
 WeightedSum (unsigned int minFalsePositives, unsigned int maxFalsePositives, double minAverageRecognitionRuntime, double maxAverageRecognitionRuntime, double alpha, double beta)
 

Private Member Functions

double getNormalisedAverageRecognitionRuntime (double averageRecognitionRuntime)
 
double getNormalisedFalsePositives (double falsePositives)
 

Private Attributes

double mAlpha
 
double mBeta
 
double mMaxAverageRecognitionRuntime
 
double mMaxFalsePositives
 
double mMinAverageRecognitionRuntime
 
double mMinFalsePositives
 

Detailed Description

Definition at line 25 of file WeightedSum.hpp.

Constructor & Destructor Documentation

ISM::WeightedSum::WeightedSum ( unsigned int  minFalsePositives,
unsigned int  maxFalsePositives,
double  minAverageRecognitionRuntime,
double  maxAverageRecognitionRuntime,
double  alpha,
double  beta 
)
inline

Definition at line 28 of file WeightedSum.hpp.

Member Function Documentation

double ISM::WeightedSum::calculateCost ( TopologyPtr  instance)
virtual

Implements ISM::CostFunction< TopologyPtr >.

Definition at line 22 of file WeightedSum.cpp.

double ISM::WeightedSum::getNormalisedAverageRecognitionRuntime ( double  averageRecognitionRuntime)
private

Definition at line 56 of file WeightedSum.cpp.

double ISM::WeightedSum::getNormalisedFalsePositives ( double  falsePositives)
private

Definition at line 39 of file WeightedSum.cpp.

Member Data Documentation

double ISM::WeightedSum::mAlpha
private

Definition at line 48 of file WeightedSum.hpp.

double ISM::WeightedSum::mBeta
private

Definition at line 49 of file WeightedSum.hpp.

double ISM::WeightedSum::mMaxAverageRecognitionRuntime
private

Definition at line 46 of file WeightedSum.hpp.

double ISM::WeightedSum::mMaxFalsePositives
private

Definition at line 43 of file WeightedSum.hpp.

double ISM::WeightedSum::mMinAverageRecognitionRuntime
private

Definition at line 45 of file WeightedSum.hpp.

double ISM::WeightedSum::mMinFalsePositives
private

Definition at line 42 of file WeightedSum.hpp.


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


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41