← Documentation
ADS-IDAC Engine 5.0.0
KBBiasFactorUnit Class Reference

#include <KBBiasFactorUnit.h>

Inheritance diagram for KBBiasFactorUnit:
[legend]
Collaboration diagram for KBBiasFactorUnit:
[legend]

Public Member Functions

 KBBiasFactorUnit ()
 
virtual ~KBBiasFactorUnit ()
 
void setTypeOfBias (int)
 
int getTypeOfBias ()
 
void setBiasFactor (double)
 
double getBiasFactor ()
 
void copyKBBiasFactorUnit (KBBiasFactorUnit &)
 
void saveKBBiasFactorUnitToFile (std::ofstream &)
 
void retrieveKBBiasFactorUnitFromFile (std::ifstream &)
 
void readKBBiasFactorUnit (std::ifstream &)
 
- Public Member Functions inherited from KBElement
 KBElement ()
 
virtual ~KBElement ()
 
void setInfoName (std::string)
 
std::string getInfoName ()
 
void readInfoFromFile (std::ifstream &)
 
void copyKBElement (KBElement &)
 
void saveKBElementToFile (std::ofstream &)
 
void retrieveKBElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalKBElement (KBElement &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from Timer
template<class Archive >
void timer_state_save (Archive &ar) const
 
template<class Archive >
void timer_state_load (Archive &ar)
 
double calculateRequiredTime ()
 
double calculateRequiredTime (double)
 
double calculateMeanRequiredTime ()
 
double calculateMeanRequiredTime (double, double)
 
double calculateWeibull_pdf (double)
 
 Timer ()
 
virtual ~Timer ()
 
void setRemainingTime (double)
 
void setTotalTimeRequired (double)
 
void setAlpha_Weibull (double)
 
void setBeta_Weibull (double)
 
void setT_Minimum (double)
 
double getTotalTimeRequired ()
 
double getRemainingTime ()
 
double reduceRemainingTime (double)
 
double getAlpha_Weibull ()
 
double getBeta_Weibull ()
 
double getT_Minimum ()
 
void copyTimer (Timer &)
 
int getNumberOfIntervals () const
 
void setNumberOfIntervals (int)
 
int getNumberOfIntervalsPassed () const
 
void setNumberOfIntervalsPassed (int)
 
double getTimeAtDemand () const
 
void setTimeAtDemand (double)
 
void saveTimerToFile (std::ofstream &)
 
void retrieveTimerFromFile (std::ifstream &)
 
bool checkIfIsIdenticalTimer (Timer &)
 
void setBothTotalTimeRequiredAndRemainingTime (double)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

int type_of_bias
 
double bias_factor
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Public Attributes inherited from KBElement
std::string info_name
 

Detailed Description

Definition at line 15 of file KBBiasFactorUnit.h.

Constructor & Destructor Documentation

◆ KBBiasFactorUnit()

KBBiasFactorUnit::KBBiasFactorUnit ( )

Definition at line 17 of file KBBiasFactorUnit.cpp.

References bias_factor, sim::None, and type_of_bias.

◆ ~KBBiasFactorUnit()

KBBiasFactorUnit::~KBBiasFactorUnit ( )
virtual

Definition at line 24 of file KBBiasFactorUnit.cpp.

Member Function Documentation

◆ copyKBBiasFactorUnit()

void KBBiasFactorUnit::copyKBBiasFactorUnit ( KBBiasFactorUnit &  _bfu)

Definition at line 32 of file KBBiasFactorUnit.cpp.

References bias_factor, KBElement::copyKBElement(), Timer::copyTimer(), getBiasFactor(), getTypeOfBias(), and type_of_bias.

Here is the call graph for this function:

◆ getBiasFactor()

double KBBiasFactorUnit::getBiasFactor ( )

Definition at line 31 of file KBBiasFactorUnit.cpp.

References bias_factor.

Referenced by copyKBBiasFactorUnit().

Here is the caller graph for this function:

◆ getTypeOfBias()

int KBBiasFactorUnit::getTypeOfBias ( )

Definition at line 29 of file KBBiasFactorUnit.cpp.

References type_of_bias.

Referenced by copyKBBiasFactorUnit().

Here is the caller graph for this function:

◆ readKBBiasFactorUnit()

void KBBiasFactorUnit::readKBBiasFactorUnit ( std::ifstream &  )

Definition at line 53 of file KBBiasFactorUnit.cpp.

References bias_factor, KBElement::setInfoName(), Timer::setTotalTimeRequired(), and type_of_bias.

Here is the call graph for this function:

◆ retrieveKBBiasFactorUnitFromFile()

void KBBiasFactorUnit::retrieveKBBiasFactorUnitFromFile ( std::ifstream &  )

Definition at line 46 of file KBBiasFactorUnit.cpp.

References bias_factor, KBElement::retrieveKBElementFromFile(), Timer::retrieveTimerFromFile(), and type_of_bias.

Here is the call graph for this function:

◆ saveKBBiasFactorUnitToFile()

void KBBiasFactorUnit::saveKBBiasFactorUnitToFile ( std::ofstream &  )

Definition at line 39 of file KBBiasFactorUnit.cpp.

References bias_factor, KBElement::saveKBElementToFile(), Timer::saveTimerToFile(), and type_of_bias.

Here is the call graph for this function:

◆ serialize()

template<class Archive >
void KBBiasFactorUnit::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprivate

Definition at line 37 of file KBBiasFactorUnit.h.

References bias_factor, and type_of_bias.

◆ setBiasFactor()

void KBBiasFactorUnit::setBiasFactor ( double  x)

Definition at line 30 of file KBBiasFactorUnit.cpp.

References bias_factor.

◆ setTypeOfBias()

void KBBiasFactorUnit::setTypeOfBias ( int  n)

Definition at line 28 of file KBBiasFactorUnit.cpp.

References type_of_bias.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 35 of file KBBiasFactorUnit.h.

Member Data Documentation

◆ bias_factor

◆ type_of_bias


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