|
ADS-IDAC Engine 5.0.0
|
#include <BranchDiagnosis.h>
Public Member Functions | |
| BranchDiagnosis () | |
| virtual | ~BranchDiagnosis () |
| void | copyBranchDiagnosis (BranchDiagnosis &) |
| void | saveInfoToFile (std::ostream &) |
| std::string | translateMessage () |
| void | saveBranchDiagnosisToFile (std::ofstream &) |
| void | retrieveBranchDiagnosisFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from DecisionDiagnosis | |
| DecisionDiagnosis () | |
| virtual | ~DecisionDiagnosis () |
| void | copyDecisionDiagnosis (DecisionDiagnosis &) |
| void | saveDecisionDiagnosisToFile (std::ofstream &) |
| void | retrieveDecisionDiagnosisFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalDecisionDiagnosis (DecisionDiagnosis &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Decision | |
| Decision () | |
| virtual | ~Decision () |
| void | setDecision (int) |
| int | getDecision () |
| void | copyDecision (Decision &) |
| void | saveDecisionToFile (std::ostream &) |
| void | retrieveDecisionFromFile (std::istream &) |
| bool | checkIfIsIdenticalDecision (Decision &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from StateOfActivation | |
| StateOfActivation () | |
| virtual | ~StateOfActivation () |
| int | getStateOfActivation () |
| void | setStateOfActivation (int) |
| void | copyStateOfActivation (StateOfActivation &) |
| void | saveStateOfActivationToFile (std::ofstream &) |
| void | retrieveStateOfActivationFromFile (std::ifstream &) |
| void | resetStateOfActivation () |
| bool | checkIfIsIdenticalStateOfActivation (StateOfActivation &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from MentalDiagnosis | |
| MentalDiagnosis () | |
| virtual | ~MentalDiagnosis () |
| void | setDiagnosis (std::string) |
| void | setAssessedState (int) |
| std::string | getDiagnosis () |
| double | getConfidenceLevel () |
| int | getAssessedState () |
| void | copyMentalDiagnosis (MentalDiagnosis &) |
| void | saveMentalDiagnosisToFile (std::ofstream &) |
| void | retrieveMentalDiagnosisFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalMentalDiagnosis (MentalDiagnosis &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from MentalInfo | |
| MentalInfo () | |
| virtual | ~MentalInfo () |
| void | setTimeAtWhichThisInfoIsPerceived (double) |
| double | getTimeAtWhichThisInfoIsPerceived () |
| void | setTypeOfMentalInfo (int) |
| int | getTypeOfMentalInfo () |
| void | copyMentalInfo (MentalInfo &) |
| void | saveMentalInfoToFile (std::ofstream &) |
| void | retrieveMentalInfoFromFile (std::ifstream &) |
| bool | checkIfIsIdenticalMentalInfo (MentalInfo &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from TimerAndProbability | |
| TimerAndProbability () | |
| virtual | ~TimerAndProbability () |
| void | setTimerAndProbability (double, double) |
| void | copyTimerAndProbability (TimerAndProbability &) |
| void | saveTimerAndProbabilityToFile (std::ofstream &) |
| void | retrieveTimerAndProbabilityFromFile (std::ifstream &) |
| 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) |
Public Member Functions inherited from Probability | |
| double | calculateProbability () |
| double | calculateSurvivalProbability (double) |
| double | gamma_log (double) |
| double | beta_cdf_inv (double, double, double) |
| double | beta_cdf (double, double, double) |
| double | beta_pdf (double, double, double) |
| double | beta_inc (double, double, double) |
| double | beta (double, double) |
| double | r8_huge () |
| double | r8_epsilon (void) |
| Probability () | |
| virtual | ~Probability () |
| void | setProbability (double) |
| double | getProbability () |
| void | setAlpha_Parameter (double) |
| double | getAlpha_Parameter () |
| void | setBeta_Parameter (double) |
| double | getBeta_Parameter () |
| void | copyProbability (Probability &) |
| void | saveProbabilityToFile (std::ofstream &) |
| void | retrieveProbabilityFromFile (std::ifstream &) |
| double | getFailureRate () const |
| void | setFailureRate (double failure_rate) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Member Functions inherited from Communication | |
| Communication () | |
| Communication (int, int) | |
| virtual | ~Communication () |
| void | setSender (int) |
| void | setTypeOfCommunication (int) |
| void | setTypeOfPauseActivity (int) |
| void | setIntendedReceiver (int) |
| void | setTimeOfCommunication (double) |
| void | setSenderAndReceiver (int, int) |
| void | setCommunicationPriority (int) |
| int | getSender () |
| int | getIntendedReceiver () |
| int | getTypeOfCommunication () |
| int | getTypeOfPauseActivity () |
| double | getTimeOfCommunication () |
| int | getCommunicationPriority () |
| void | copyCommunication (Communication &) |
| void | saveCommunicationToFile (std::ofstream &) |
| void | retrieveCommunicationFromFile (std::ifstream &) |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Friends | |
| class | boost::serialization::access |
Definition at line 18 of file BranchDiagnosis.h.
| BranchDiagnosis::BranchDiagnosis | ( | ) |
Definition at line 22 of file BranchDiagnosis.cpp.
|
virtual |
Definition at line 26 of file BranchDiagnosis.cpp.
| void BranchDiagnosis::copyBranchDiagnosis | ( | BranchDiagnosis & | _bdp | ) |
Definition at line 29 of file BranchDiagnosis.cpp.
References Communication::copyCommunication(), DecisionDiagnosis::copyDecisionDiagnosis(), and TimerAndProbability::copyTimerAndProbability().
| void BranchDiagnosis::retrieveBranchDiagnosisFromFile | ( | std::ifstream & | ) |
Definition at line 68 of file BranchDiagnosis.cpp.
References Communication::retrieveCommunicationFromFile(), DecisionDiagnosis::retrieveDecisionDiagnosisFromFile(), and TimerAndProbability::retrieveTimerAndProbabilityFromFile().
| void BranchDiagnosis::saveBranchDiagnosisToFile | ( | std::ofstream & | ) |
Definition at line 63 of file BranchDiagnosis.cpp.
References Communication::saveCommunicationToFile(), DecisionDiagnosis::saveDecisionDiagnosisToFile(), and TimerAndProbability::saveTimerAndProbabilityToFile().
| void BranchDiagnosis::saveInfoToFile | ( | std::ostream & | ) |
Definition at line 51 of file BranchDiagnosis.cpp.
References sim::Source::Bypass, sim::Decision::Diagnosis, g_sim, MentalDiagnosis::getConfidenceLevel(), MentalDiagnosis::getDiagnosis(), Communication::getIntendedReceiver(), Probability::getProbability(), Timer::getRemainingTime(), Communication::getSender(), StateOfActivation::getStateOfActivation(), ConvertToString::getString(), Communication::getTimeOfCommunication(), sim::None, and SimulationContext::Translator.
|
inline |
Definition at line 34 of file BranchDiagnosis.h.
| string BranchDiagnosis::translateMessage | ( | ) |
Definition at line 34 of file BranchDiagnosis.cpp.
References sim::Source::Bypass, g_sim, MentalDiagnosis::getDiagnosis(), Communication::getIntendedReceiver(), Probability::getProbability(), Communication::getSender(), StateOfActivation::getStateOfActivation(), ConvertToString::getString(), and SimulationContext::Translator.
|
friend |
Definition at line 32 of file BranchDiagnosis.h.