← Documentation
ADS-IDAC Engine 5.0.0
DiagnosisEventUnit Class Reference

#include <DiagnosisEventUnit.h>

Public Member Functions

 DiagnosisEventUnit ()
 
virtual ~DiagnosisEventUnit ()
 
std::string getDiagnosisName ()
 
std::string getCategoryName ()
 
double getLowerBound ()
 
double getUpperBound ()
 
double getConfidence ()
 
void setLowerBound (double)
 
void setUpperBound (double)
 
void setConfidence (double)
 
void readInfoFromFile (int, std::ifstream &)
 
void saveInfoToFile (std::ofstream &)
 
void copyDiagnosisEventUnit (DiagnosisEventUnit &)
 
void clearDiagnosisEventUnit ()
 
void saveDiagnosisEventUnitToFile (std::ofstream &)
 
void retrieveDiagnosisEventUnitFromFile (std::ifstream &)
 

Public Attributes

std::vector< double > symptom_event_relationship
 

Private Member Functions

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

Private Attributes

std::string diagnosis_name
 
std::string category_name
 
double lower_bound
 
double upper_bound
 
double confidence
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 15 of file DiagnosisEventUnit.h.

Constructor & Destructor Documentation

◆ DiagnosisEventUnit()

DiagnosisEventUnit::DiagnosisEventUnit ( )

Definition at line 17 of file DiagnosisEventUnit.cpp.

References category_name, confidence, diagnosis_name, lower_bound, and upper_bound.

◆ ~DiagnosisEventUnit()

DiagnosisEventUnit::~DiagnosisEventUnit ( )
virtual

Definition at line 26 of file DiagnosisEventUnit.cpp.

Member Function Documentation

◆ clearDiagnosisEventUnit()

void DiagnosisEventUnit::clearDiagnosisEventUnit ( )

Definition at line 70 of file DiagnosisEventUnit.cpp.

References symptom_event_relationship.

◆ copyDiagnosisEventUnit()

void DiagnosisEventUnit::copyDiagnosisEventUnit ( DiagnosisEventUnit &  _deu)

Definition at line 59 of file DiagnosisEventUnit.cpp.

References category_name, confidence, diagnosis_name, getCategoryName(), getConfidence(), getDiagnosisName(), getLowerBound(), getUpperBound(), lower_bound, symptom_event_relationship, and upper_bound.

Here is the call graph for this function:

◆ getCategoryName()

std::string DiagnosisEventUnit::getCategoryName ( )

Definition at line 30 of file DiagnosisEventUnit.cpp.

References category_name.

Referenced by copyDiagnosisEventUnit(), and EventSymptomMatrix::updateRationalEventConfidence().

Here is the caller graph for this function:

◆ getConfidence()

double DiagnosisEventUnit::getConfidence ( )

Definition at line 33 of file DiagnosisEventUnit.cpp.

References confidence.

Referenced by copyDiagnosisEventUnit(), and EventSymptomMatrix::updateRationalEventConfidence().

Here is the caller graph for this function:

◆ getDiagnosisName()

std::string DiagnosisEventUnit::getDiagnosisName ( )

Definition at line 29 of file DiagnosisEventUnit.cpp.

References diagnosis_name.

Referenced by copyDiagnosisEventUnit().

Here is the caller graph for this function:

◆ getLowerBound()

double DiagnosisEventUnit::getLowerBound ( )

Definition at line 31 of file DiagnosisEventUnit.cpp.

References lower_bound.

Referenced by copyDiagnosisEventUnit().

Here is the caller graph for this function:

◆ getUpperBound()

double DiagnosisEventUnit::getUpperBound ( )

Definition at line 32 of file DiagnosisEventUnit.cpp.

References upper_bound.

Referenced by copyDiagnosisEventUnit().

Here is the caller graph for this function:

◆ readInfoFromFile()

void DiagnosisEventUnit::readInfoFromFile ( int  num_dia,
std::ifstream &  fin 
)

Definition at line 34 of file DiagnosisEventUnit.cpp.

References category_name, diagnosis_name, and symptom_event_relationship.

◆ retrieveDiagnosisEventUnitFromFile()

void DiagnosisEventUnit::retrieveDiagnosisEventUnitFromFile ( std::ifstream &  fin)

◆ saveDiagnosisEventUnitToFile()

void DiagnosisEventUnit::saveDiagnosisEventUnitToFile ( std::ofstream &  fout)

◆ saveInfoToFile()

void DiagnosisEventUnit::saveInfoToFile ( std::ofstream &  fout)

Definition at line 43 of file DiagnosisEventUnit.cpp.

References category_name, confidence, diagnosis_name, lower_bound, and upper_bound.

◆ serialize()

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

◆ setConfidence()

void DiagnosisEventUnit::setConfidence ( double  x)

Definition at line 58 of file DiagnosisEventUnit.cpp.

References confidence.

Referenced by EventSymptomMatrix::updateRationalEventConfidence().

Here is the caller graph for this function:

◆ setLowerBound()

void DiagnosisEventUnit::setLowerBound ( double  x)

Definition at line 56 of file DiagnosisEventUnit.cpp.

References lower_bound.

Referenced by EventSymptomMatrix::updateRationalEventConfidence().

Here is the caller graph for this function:

◆ setUpperBound()

void DiagnosisEventUnit::setUpperBound ( double  x)

Definition at line 57 of file DiagnosisEventUnit.cpp.

References upper_bound.

Referenced by EventSymptomMatrix::updateRationalEventConfidence().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 40 of file DiagnosisEventUnit.h.

Member Data Documentation

◆ category_name

◆ confidence

◆ diagnosis_name

◆ lower_bound

◆ symptom_event_relationship

◆ upper_bound


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