|
ADS-IDAC Engine 5.0.0
|
#include <EventSymptomMatrix.h>
Public Attributes | |
| std::vector< std::unique_ptr< SymptomUnit > > | symptoms |
| std::vector< std::unique_ptr< DiagnosisEventUnit > > | events |
Private Attributes | |
| int | num_symptom |
| int | num_event |
| double | abnormal_confidence |
Friends | |
| class | boost::serialization::access |
Definition at line 26 of file EventSymptomMatrix.h.
| EventSymptomMatrix::EventSymptomMatrix | ( | ) |
Definition at line 39 of file EventSymptomMatrix.cpp.
References abnormal_confidence, num_event, and num_symptom.
|
virtual |
Definition at line 46 of file EventSymptomMatrix.cpp.
References clearEventSymptomMatrix().
| void EventSymptomMatrix::clearEventSymptomMatrix | ( | ) |
Definition at line 50 of file EventSymptomMatrix.cpp.
References abnormal_confidence, events, num_event, num_symptom, and symptoms.
Referenced by Operator::clearOperatorFinal(), Operator::clearOperatorForRestart(), Operator::clearOperatorFromRestartInfo(), Operator::seedDiagnosisMatrixFromMaster(), and ~EventSymptomMatrix().
| void EventSymptomMatrix::copyEventSymptomMatrix | ( | EventSymptomMatrix & | _esm | ) |
Definition at line 240 of file EventSymptomMatrix.cpp.
References abnormal_confidence, events, getAbnormalConfidence(), getNumEvent(), getNumSymptom(), num_event, num_symptom, and symptoms.
Referenced by Operator::copyOperatorFromRestartInfo(), Operator::copyOperatorFromRestartInfoMultiProcessor(), Operator::copyOperatorToRestartInfo(), and Operator::seedDiagnosisMatrixFromMaster().
| double EventSymptomMatrix::getAbnormalConfidence | ( | ) |
Definition at line 63 of file EventSymptomMatrix.cpp.
References abnormal_confidence.
Referenced by copyEventSymptomMatrix(), OperatorAT::oneThroughProcessForBlockI(), and OperatorDM::oneThroughProcessForBlockI().
| double EventSymptomMatrix::getEventRationalConfidence | ( | std::string | ) |
Definition at line 177 of file EventSymptomMatrix.cpp.
References events, and r5pars_.
Referenced by Operator::checkItemRelevanceToCurrentDiagnosis(), and DiagnosisActionModule::getPtrToHighPriorityDiagnosisActionUnit().
| int EventSymptomMatrix::getNumEvent | ( | ) |
Definition at line 62 of file EventSymptomMatrix.cpp.
References num_event.
Referenced by copyEventSymptomMatrix().
| int EventSymptomMatrix::getNumSymptom | ( | ) |
Definition at line 61 of file EventSymptomMatrix.cpp.
References num_symptom.
Referenced by copyEventSymptomMatrix().
| void EventSymptomMatrix::outputEventSymptomMatrixLabelToFile | ( | std::string | , |
| std::ofstream & | |||
| ) |
Definition at line 214 of file EventSymptomMatrix.cpp.
References events, and symptoms.
Referenced by KeyParameterHistoryUnit::outputDiagnosisLabelToFile().
| void EventSymptomMatrix::outputEventSymptomMatrixUnitToFile | ( | std::ofstream & | ) |
Definition at line 229 of file EventSymptomMatrix.cpp.
References events, and symptoms.
Referenced by KeyParameterHistoryUnit::outputDiagnosisUnitToFile().
| void EventSymptomMatrix::readInfoFromFile | ( | std::string | ) |
Definition at line 64 of file EventSymptomMatrix.cpp.
References SimulationContext::Branch_center, events, g_sim, NoKB, num_event, num_symptom, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and symptoms.
Referenced by Operator::initiationForSimulation().
| void EventSymptomMatrix::retrieveEventSymptomMatrixFromFile | ( | std::ifstream & | ) |
Definition at line 271 of file EventSymptomMatrix.cpp.
References abnormal_confidence, SimulationContext::Branch_center, events, g_sim, NoKB, num_event, num_symptom, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and symptoms.
Referenced by Operator::retrieveOperatorFromFile().
| void EventSymptomMatrix::saveEventSymptomMatrixToFile | ( | std::ofstream & | ) |
Definition at line 256 of file EventSymptomMatrix.cpp.
References abnormal_confidence, events, num_event, num_symptom, and symptoms.
Referenced by Operator::saveOperatorToFile().
|
inline |
Definition at line 62 of file EventSymptomMatrix.h.
References abnormal_confidence, events, num_event, num_symptom, and symptoms.
| void EventSymptomMatrix::setAbnormalConfidence | ( | double | x | ) |
Definition at line 60 of file EventSymptomMatrix.cpp.
References abnormal_confidence.
| void EventSymptomMatrix::setNumEvent | ( | int | n | ) |
Definition at line 59 of file EventSymptomMatrix.cpp.
References num_event.
| void EventSymptomMatrix::setNumSymptom | ( | int | n | ) |
Definition at line 58 of file EventSymptomMatrix.cpp.
References num_symptom.
| void EventSymptomMatrix::state_load | ( | boost::archive::binary_iarchive & | ar | ) |
Definition at line 24 of file EventSymptomMatrix.cpp.
References abnormal_confidence, e, events, and symptoms.
Referenced by Operator::serialize().
| void EventSymptomMatrix::state_save | ( | boost::archive::binary_oarchive & | ar | ) | const |
Definition at line 17 of file EventSymptomMatrix.cpp.
References abnormal_confidence, e, events, and symptoms.
Referenced by Operator::serialize().
| void EventSymptomMatrix::updateBothRationalConfidence | ( | KB & | _kb | ) |
Definition at line 209 of file EventSymptomMatrix.cpp.
References updateRationalEventConfidence(), and updateRationalSymptomConfidence().
Referenced by OperatorAT::oneThroughProcessForBlockI(), and OperatorDM::oneThroughProcessForBlockI().
| void EventSymptomMatrix::updatePerceivedEventConfidence | ( | ) |
Definition at line 206 of file EventSymptomMatrix.cpp.
| void EventSymptomMatrix::updatePerceivedSymptomConfidence | ( | ) |
Definition at line 204 of file EventSymptomMatrix.cpp.
| void EventSymptomMatrix::updateRationalEventConfidence | ( | ) |
Definition at line 128 of file EventSymptomMatrix.cpp.
References abnormal_confidence, events, DiagnosisEventUnit::getCategoryName(), DiagnosisEventUnit::getConfidence(), DiagnosisEventUnit::setConfidence(), DiagnosisEventUnit::setLowerBound(), DiagnosisEventUnit::setUpperBound(), DiagnosisEventUnit::symptom_event_relationship, and symptoms.
Referenced by updateBothRationalConfidence().
| void EventSymptomMatrix::updateRationalSymptomConfidence | ( | KB & | _kb | ) |
Definition at line 96 of file EventSymptomMatrix.cpp.
References SimulationContext::Branch_center, g_sim, KB::hard_wired_diagnosis, NoKB, r5pars_, BranchRecord::setTempESMessage(), BranchRecord::setTempTypeOfConsequence(), and symptoms.
Referenced by updateBothRationalConfidence().
|
friend |
Definition at line 60 of file EventSymptomMatrix.h.
|
private |
Definition at line 72 of file EventSymptomMatrix.h.
Referenced by clearEventSymptomMatrix(), copyEventSymptomMatrix(), EventSymptomMatrix(), getAbnormalConfidence(), retrieveEventSymptomMatrixFromFile(), saveEventSymptomMatrixToFile(), serialize(), setAbnormalConfidence(), state_load(), state_save(), and updateRationalEventConfidence().
| std::vector<std::unique_ptr<DiagnosisEventUnit> > EventSymptomMatrix::events |
Definition at line 58 of file EventSymptomMatrix.h.
Referenced by KeyParameterHistoryUnit::addDataSet(), clearEventSymptomMatrix(), copyEventSymptomMatrix(), getEventRationalConfidence(), outputEventSymptomMatrixLabelToFile(), outputEventSymptomMatrixUnitToFile(), readInfoFromFile(), retrieveEventSymptomMatrixFromFile(), saveEventSymptomMatrixToFile(), serialize(), state_load(), state_save(), and updateRationalEventConfidence().
|
private |
Definition at line 71 of file EventSymptomMatrix.h.
Referenced by clearEventSymptomMatrix(), copyEventSymptomMatrix(), EventSymptomMatrix(), getNumEvent(), readInfoFromFile(), retrieveEventSymptomMatrixFromFile(), saveEventSymptomMatrixToFile(), serialize(), and setNumEvent().
|
private |
Definition at line 71 of file EventSymptomMatrix.h.
Referenced by clearEventSymptomMatrix(), copyEventSymptomMatrix(), EventSymptomMatrix(), getNumSymptom(), readInfoFromFile(), retrieveEventSymptomMatrixFromFile(), saveEventSymptomMatrixToFile(), serialize(), and setNumSymptom().
| std::vector<std::unique_ptr<SymptomUnit> > EventSymptomMatrix::symptoms |
Definition at line 57 of file EventSymptomMatrix.h.
Referenced by KeyParameterHistoryUnit::addDataSet(), clearEventSymptomMatrix(), copyEventSymptomMatrix(), outputEventSymptomMatrixLabelToFile(), outputEventSymptomMatrixUnitToFile(), readInfoFromFile(), retrieveEventSymptomMatrixFromFile(), saveEventSymptomMatrixToFile(), serialize(), state_load(), state_save(), updateRationalEventConfidence(), and updateRationalSymptomConfidence().