|
ADS-IDAC Engine 5.0.0
|
#include <SymptomInvestigator.h>
Definition at line 13 of file SymptomInvestigator.h.
| SymptomInvestigator::SymptomInvestigator | ( | ) |
Definition at line 23 of file SymptomInvestigator.cpp.
References m_can_not_explain_opposite_bl, m_DI_ID_pt, m_event_symptom_pt, m_ID_DI, m_ID_esu, m_ID_KE, m_ID_lable, IDElement::m_ID_Type, m_independent_symptom_probability, m_label_ID_pt, m_last_case_end_time, m_need_to_invest_opposite_bl, m_opposite_KE_ID, m_opposite_KE_pt, and m_symptom_KE_pt.
|
virtual |
Definition at line 43 of file SymptomInvestigator.cpp.
References m_ID_ongoing_invest_link_list, m_ID_ongoing_invest_list, m_ongoing_invest_link_list, and m_ongoing_invest_list.
| void SymptomInvestigator::BoostTheActivationOfOngoingInvestigation | ( | ) |
Definition at line 1307 of file SymptomInvestigator.cpp.
References m_ongoing_invest_link_list, and m_ongoing_invest_list.
Referenced by EventSchemaBase::GenerateANewInvestigatorOrNot().
| void SymptomInvestigator::BuildConnectionsForThisSymptomInvestigator | ( | void * | _pt | ) |
Definition at line 1211 of file SymptomInvestigator.cpp.
References e, ErrorMessage(), ReasonMachine::FindInvestigatorByID(), ReasonMachine::FindInvestigatorLinkByID(), ReasonMachine::FindKnowledgeElementByID(), m_candidate_case_list, ReasonMachine::m_Concept_Base, m_confirmed_case_list, m_DI_ID_pt, m_discarded_case_list, ReasonMachine::m_event_schema_base, m_event_symptom_pt, m_exception_case_list, m_ID_DI, m_ID_esu, m_ID_KE, m_ID_lable, m_ID_ongoing_invest_link_list, m_ID_ongoing_invest_list, m_inconsistant_case_list, m_label_ID_pt, m_ongoing_invest_link_list, m_ongoing_invest_list, m_opposite_KE_ID, m_opposite_KE_pt, m_partial_consistant_case_list, m_rejected_case_list, m_symptom_KE_pt, and m_voided_case_list.
| KnowledgeUnit * SymptomInvestigator::CheckAKnowledgeUnitInTheList | ( | KnowledgeUnit * | _KU_pt | ) |
Definition at line 1011 of file SymptomInvestigator.cpp.
References m_event_symptom_pt, and EventSymptomUnit::m_KU_list.
Referenced by Investigator::RetrieveTheNextLikelyInvestigatorLink3013().
| void SymptomInvestigator::CopySymptomInvestigatorInfoFromAnother | ( | SymptomInvestigator * | _si_pt | ) |
Definition at line 1052 of file SymptomInvestigator.cpp.
References IDElement::CopyIDElementToRestartInfo(), e, ErrorMessage(), m_attention_level, m_can_not_explain_opposite_bl, m_candidate_case_list, m_confirmed_case_list, m_DI_ID_pt, m_discarded_case_list, m_event_symptom_pt, m_exception_case_list, IDElement::m_ID, m_ID_DI, m_ID_esu, m_ID_KE, m_ID_lable, m_ID_ongoing_invest_link_list, m_ID_ongoing_invest_list, m_inconsistant_case_list, m_independent_symptom_probability, m_label_ID_pt, m_last_case_end_time, m_need_to_invest_opposite_bl, m_ongoing_invest_link_list, m_ongoing_invest_list, m_operator, m_opposite_KE_ID, m_opposite_KE_pt, m_partial_consistant_case_list, m_rejected_case_list, m_symptom_KE_pt, and m_voided_case_list.
| void SymptomInvestigator::ErrorMessage | ( | std::string | ) |
Definition at line 147 of file SymptomInvestigator.cpp.
References r5pars_.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), GetLastConfirmationTime(), InitiallyCompareAnInvestigationTraceWithThePrototype(), InitiationOfthisSymptomInvestigator(), SITrackTheOngoingInvestigation(), and TrackOneInvestigationCase().
| SymptomCase * SymptomInvestigator::FindASymptomCaseByInvestigator | ( | Investigator * | _invest_pt | ) |
Definition at line 298 of file SymptomInvestigator.cpp.
References e, and m_candidate_case_list.
| float SymptomInvestigator::GetLastConfirmationTime | ( | ) |
Definition at line 1026 of file SymptomInvestigator.cpp.
References ErrorMessage(), m_confirmed_case_list, and SymptomCase::m_confirmed_time.
| float SymptomInvestigator::GetTheLastRejectionTime | ( | ) |
Definition at line 998 of file SymptomInvestigator.cpp.
References e, and m_rejected_case_list.
| void SymptomInvestigator::InitiallyCompareAnInvestigationTraceWithThePrototype | ( | SymptomCase * | _case_pt | ) |
Definition at line 156 of file SymptomInvestigator.cpp.
References ErrorMessage(), InvestigatorLink::m_condition_ID_pt, m_confirmed_case_list, SymptomCase::m_confirmed_time, SymptomCase::m_consistant_bl, m_event_symptom_pt, m_exception_case_list, SymptomCase::m_exception_time, SymptomCase::m_finished_bl, Investigator::m_Happen, IDElement::m_ID, m_inconsistant_case_list, Investigator::m_independent_probability, m_independent_symptom_probability, InvestigatorLink::m_invest_link_dormant, SymptomCase::m_invest_pt, Investigator::m_investigator_token, InvestigatorLink::m_K_unit_pt, EventSymptomUnit::m_KU_list, m_last_case_end_time, SymptomCase::m_path_confidence, InvestigatorLink::m_path_status, SymptomCase::m_problem_invest_pt, SymptomCase::m_problem_permission_invest_pt, SymptomCase::m_stuck_KU_pt, m_symptom_KE_pt, Investigator::m_upperstream_ID_list, InvestigatorLink::m_upperstream_ID_list, MoveCaseFromCandidateTo(), and r5pars_.
| void SymptomInvestigator::InitiationOfthisSymptomInvestigator | ( | ) |
Definition at line 53 of file SymptomInvestigator.cpp.
References SimulationContext::Action_Taker, SimulationContext::Decision_Maker, ErrorMessage(), ReasonMachine::FindAKEbySentenceAndNegationSign(), g_sim, ReasonMachine::InstantiateAnIndefiniteSentenceWithLabel(), m_candidate_case_list, m_event_symptom_pt, SymptomCase::m_finished_bl, Investigator::m_Happen, ReasonMachine::m_IB, SymptomCase::m_invest_pt, ReasonMachine::m_investigator_pool, Investigator::m_KElement_ID_pt, m_label_ID_pt, KnowledgeElement::m_negation, m_operator, Operator::m_RM, Statement::m_sent_pt, KnowledgeElement::m_SentenceUnit_pt, Investigator::m_Statement_pt, EventSymptomUnit::m_symptom_KE_pt, m_symptom_KE_pt, sim::Operator::OAT, sim::Operator::ODM, and TrackOneInvestigationCase().
| void SymptomInvestigator::MoveCaseFromCandidateTo | ( | SymptomCase * | _case_pt, |
| std::vector< std::unique_ptr< SymptomCase > > & | _target | ||
| ) |
Definition at line 985 of file SymptomInvestigator.cpp.
References m_candidate_case_list.
Referenced by InitiallyCompareAnInvestigationTraceWithThePrototype(), EventSchemaBase::RemoveAllTheCaseAssociatedWithAnInvestigator(), and TrackOneInvestigationCase().
| void SymptomInvestigator::PrintMessage | ( | std::string | str | ) |
Definition at line 1039 of file SymptomInvestigator.cpp.
References r5pars_.
Referenced by RemoveADeterminedCaseFromCandiateList(), SITrackTheOngoingInvestigation(), and TrackOneInvestigationCase().
| void SymptomInvestigator::RemoveADeterminedCaseFromCandiateList | ( | SymptomCase * | _case_pt | ) |
Definition at line 969 of file SymptomInvestigator.cpp.
References m_candidate_case_list, IDElement::m_ID, SymptomCase::m_invest_pt, and PrintMessage().
Referenced by EventSchemaBase::RemoveAllTheCaseAssociatedWithAnInvestigator().
| void SymptomInvestigator::SITrackTheOngoingInvestigation | ( | ) |
Definition at line 311 of file SymptomInvestigator.cpp.
References ErrorMessage(), m_candidate_case_list, SymptomCase::m_finished_bl, IDElement::m_ID, m_ongoing_invest_link_list, m_ongoing_invest_list, m_symptom_KE_pt, SymptomCase::m_unfinished_invest_link_pt, SymptomCase::m_unfinished_invest_pt, PrintMessage(), r5pars_, and TrackOneInvestigationCase().
| void SymptomInvestigator::TrackOneInvestigationCase | ( | SymptomCase * | _case_pt | ) |
Definition at line 357 of file SymptomInvestigator.cpp.
References SimulationContext::Action_Taker, ReasonMachine::AddNewInvestigator(), InvestigatorLink::CheckThePathStatus3102(), SimulationContext::Decision_Maker, ErrorMessage(), ReasonMachine::FindAKEbySentenceAndNegationSign(), g_sim, SentenceUnit::GetLabelOfThisSentence(), Investigator::m_active_investigation, m_attention_level, ReasonMachine::m_buffer_invest_pt, ReasonMachine::m_buffer_used_bl, m_can_not_explain_opposite_bl, InvestigatorLink::m_condition_ID_pt, m_confirmed_case_list, SymptomCase::m_confirmed_time, SymptomCase::m_consistant_bl, m_DI_ID_pt, m_discarded_case_list, Investigator::m_effective_end, Investigator::m_effective_start, DiagnoseInvestigator::m_event_KE_pt, m_event_symptom_pt, m_exception_case_list, SymptomCase::m_exception_time, Investigator::m_explained, SymptomCase::m_finished_bl, Investigator::m_Happen, IDElement::m_ID, SymptomCase::m_ID_invest, m_inconsistant_case_list, Investigator::m_independent_probability, m_independent_symptom_probability, Investigator::m_interest_from_SymptomInvestigator, Investigator::m_invest_dormant, InvestigatorLink::m_invest_link_dormant, InvestigatorLink::m_invest_link_pause, InvestigatorLink::m_invest_link_Token, SymptomCase::m_invest_opposite_bl, Investigator::m_invest_pause, SymptomCase::m_invest_pt, Investigator::m_investigation_closed, Investigator::m_investigator_token, InvestigatorLink::m_is_inference_path_bl, InvestigatorLink::m_K_unit_pt, Investigator::m_KElement_ID_pt, EventSymptomUnit::m_KU_list, m_label_ID_pt, m_last_case_end_time, Investigator::m_motivation, m_need_to_invest_opposite_bl, Investigator::m_note, Investigator::m_operator, m_operator, m_opposite_KE_ID, m_opposite_KE_pt, SymptomCase::m_path_confidence, InvestigatorLink::m_path_status, Investigator::m_probability_update_time, SymptomCase::m_problem_invest_pt, SymptomCase::m_problem_permission_invest_pt, m_rejected_case_list, SymptomCase::m_rejection_time, Operator::m_RM, Investigator::m_root_of_a_thought_line, Statement::m_sent_pt, KnowledgeElement::m_SentenceUnit_pt, Investigator::m_SI_ID_pt, InvestigatorLink::m_SI_ID_pt, Statement::m_state, Investigator::m_Statement_pt, SymptomCase::m_stuck_KU_pt, m_symptom_KE_pt, SymptomCase::m_unfinished_invest_link_pt, SymptomCase::m_unfinished_invest_pt, Investigator::m_upperstream_ID_list, InvestigatorLink::m_upperstream_ID_list, m_voided_case_list, MoveCaseFromCandidateTo(), sim::Operator::OAT, sim::Operator::ODM, PrintMessage(), r5pars_, Investigator::ReopenThisInvestigator(), and ReasonMachine::WriteAuxInfo().
Referenced by InitiationOfthisSymptomInvestigator(), and SITrackTheOngoingInvestigation().
| float SymptomInvestigator::m_attention_level |
Definition at line 41 of file SymptomInvestigator.h.
Referenced by CopySymptomInvestigatorInfoFromAnother(), EventSchemaBase::GenerateANewInvestigatorOrNot(), boost::serialization::serialize(), and TrackOneInvestigationCase().
| bool SymptomInvestigator::m_can_not_explain_opposite_bl |
Definition at line 17 of file SymptomInvestigator.h.
Referenced by CopySymptomInvestigatorInfoFromAnother(), boost::serialization::serialize(), SymptomInvestigator(), and TrackOneInvestigationCase().
| std::vector<std::unique_ptr<SymptomCase> > SymptomInvestigator::m_candidate_case_list |
Definition at line 58 of file SymptomInvestigator.h.
Referenced by EventSchemaBase::AddNewSymptomCaseWithNewInvestigatorIfNecessary(), BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), FindASymptomCaseByInvestigator(), EventSchemaBase::GenerateANewInvestigatorOrNot(), InitiationOfthisSymptomInvestigator(), MoveCaseFromCandidateTo(), RemoveADeterminedCaseFromCandiateList(), EventSchemaBase::RemoveAllTheCaseAssociatedWithAnInvestigator(), EventSchemaBase::SaveAllDiagnoseInvestigatorInforToFile(), and SITrackTheOngoingInvestigation().
| std::vector<std::unique_ptr<SymptomCase> > SymptomInvestigator::m_confirmed_case_list |
Definition at line 59 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), GetLastConfirmationTime(), InitiallyCompareAnInvestigationTraceWithThePrototype(), EventSchemaBase::SaveAllDiagnoseInvestigatorInforToFile(), and TrackOneInvestigationCase().
| IDElement* SymptomInvestigator::m_DI_ID_pt |
Definition at line 22 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), SymptomInvestigator(), and TrackOneInvestigationCase().
| std::vector<std::unique_ptr<SymptomCase> > SymptomInvestigator::m_discarded_case_list |
Definition at line 64 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), EventSchemaBase::RemoveAllTheCaseAssociatedWithAnInvestigator(), and TrackOneInvestigationCase().
| EventSymptomUnit* SymptomInvestigator::m_event_symptom_pt |
Definition at line 45 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CheckAKnowledgeUnitInTheList(), CopySymptomInvestigatorInfoFromAnother(), InitiallyCompareAnInvestigationTraceWithThePrototype(), InitiationOfthisSymptomInvestigator(), SymptomInvestigator(), and TrackOneInvestigationCase().
| std::vector<std::unique_ptr<SymptomCase> > SymptomInvestigator::m_exception_case_list |
Definition at line 62 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), InitiallyCompareAnInvestigationTraceWithThePrototype(), EventSchemaBase::SaveAllDiagnoseInvestigatorInforToFile(), and TrackOneInvestigationCase().
| std::string SymptomInvestigator::m_ID_DI |
Definition at line 23 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), boost::serialization::serialize(), and SymptomInvestigator().
| std::string SymptomInvestigator::m_ID_esu |
Definition at line 49 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), boost::serialization::serialize(), and SymptomInvestigator().
| std::string SymptomInvestigator::m_ID_KE |
Definition at line 50 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), boost::serialization::serialize(), and SymptomInvestigator().
| std::string SymptomInvestigator::m_ID_lable |
Definition at line 48 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), boost::serialization::serialize(), and SymptomInvestigator().
| std::vector<std::string> SymptomInvestigator::m_ID_ongoing_invest_link_list |
Definition at line 56 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), boost::serialization::serialize(), and ~SymptomInvestigator().
| std::vector<std::string> SymptomInvestigator::m_ID_ongoing_invest_list |
Definition at line 55 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), boost::serialization::serialize(), and ~SymptomInvestigator().
| std::vector<std::unique_ptr<SymptomCase> > SymptomInvestigator::m_inconsistant_case_list |
Definition at line 61 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), InitiallyCompareAnInvestigationTraceWithThePrototype(), EventSchemaBase::SaveAllDiagnoseInvestigatorInforToFile(), and TrackOneInvestigationCase().
| float SymptomInvestigator::m_independent_symptom_probability |
Definition at line 40 of file SymptomInvestigator.h.
Referenced by CopySymptomInvestigatorInfoFromAnother(), InitiallyCompareAnInvestigationTraceWithThePrototype(), EventSchemaBase::SaveAllDiagnoseInvestigatorInforToFile(), boost::serialization::serialize(), SymptomInvestigator(), and TrackOneInvestigationCase().
| IDElement* SymptomInvestigator::m_label_ID_pt |
Definition at line 44 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), InitiationOfthisSymptomInvestigator(), SymptomInvestigator(), and TrackOneInvestigationCase().
| float SymptomInvestigator::m_last_case_end_time |
Definition at line 42 of file SymptomInvestigator.h.
Referenced by CopySymptomInvestigatorInfoFromAnother(), InitiallyCompareAnInvestigationTraceWithThePrototype(), EventSchemaBase::RemoveAllTheCaseAssociatedWithAnInvestigator(), DiagnoseInvestigator::SearchForTheToBeInvestigatedSI(), boost::serialization::serialize(), SymptomInvestigator(), and TrackOneInvestigationCase().
| bool SymptomInvestigator::m_need_to_invest_opposite_bl |
Definition at line 20 of file SymptomInvestigator.h.
Referenced by CopySymptomInvestigatorInfoFromAnother(), EventSchemaBase::GenerateANewInvestigatorOrNot(), boost::serialization::serialize(), SymptomInvestigator(), and TrackOneInvestigationCase().
| std::vector<InvestigatorLink *> SymptomInvestigator::m_ongoing_invest_link_list |
Definition at line 53 of file SymptomInvestigator.h.
Referenced by BoostTheActivationOfOngoingInvestigation(), BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), SITrackTheOngoingInvestigation(), and ~SymptomInvestigator().
| std::vector<Investigator *> SymptomInvestigator::m_ongoing_invest_list |
Definition at line 52 of file SymptomInvestigator.h.
Referenced by BoostTheActivationOfOngoingInvestigation(), BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), SITrackTheOngoingInvestigation(), and ~SymptomInvestigator().
| int SymptomInvestigator::m_operator |
Definition at line 39 of file SymptomInvestigator.h.
Referenced by CopySymptomInvestigatorInfoFromAnother(), InitiationOfthisSymptomInvestigator(), boost::serialization::serialize(), and TrackOneInvestigationCase().
| std::string SymptomInvestigator::m_opposite_KE_ID |
Definition at line 19 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), boost::serialization::serialize(), SymptomInvestigator(), and TrackOneInvestigationCase().
| KnowledgeElement* SymptomInvestigator::m_opposite_KE_pt |
Definition at line 18 of file SymptomInvestigator.h.
Referenced by EventSchemaBase::AddNewSymptomCaseWithNewInvestigatorIfNecessary(), BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), EventSchemaBase::GenerateANewInvestigatorOrNot(), SymptomInvestigator(), and TrackOneInvestigationCase().
| std::vector<std::unique_ptr<SymptomCase> > SymptomInvestigator::m_partial_consistant_case_list |
Definition at line 63 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), and CopySymptomInvestigatorInfoFromAnother().
| std::vector<std::unique_ptr<SymptomCase> > SymptomInvestigator::m_rejected_case_list |
Definition at line 60 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), EventSchemaBase::GenerateANewInvestigatorOrNot(), GetTheLastRejectionTime(), EventSchemaBase::RemoveAllTheCaseAssociatedWithAnInvestigator(), EventSchemaBase::SaveAllDiagnoseInvestigatorInforToFile(), and TrackOneInvestigationCase().
| KnowledgeElement* SymptomInvestigator::m_symptom_KE_pt |
Definition at line 46 of file SymptomInvestigator.h.
Referenced by EventSchemaBase::AddNewSymptomCaseWithNewInvestigatorIfNecessary(), BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), EventSchemaBase::GenerateANewInvestigatorOrNot(), InitiallyCompareAnInvestigationTraceWithThePrototype(), InitiationOfthisSymptomInvestigator(), EventSchemaBase::SaveAllDiagnoseInvestigatorInforToFile(), DiagnoseInvestigator::SearchForTheToBeInvestigatedSI(), SITrackTheOngoingInvestigation(), SymptomInvestigator(), and TrackOneInvestigationCase().
| std::vector<std::unique_ptr<SymptomCase> > SymptomInvestigator::m_voided_case_list |
Definition at line 65 of file SymptomInvestigator.h.
Referenced by BuildConnectionsForThisSymptomInvestigator(), CopySymptomInvestigatorInfoFromAnother(), EventSchemaBase::RemoveAllTheCaseAssociatedWithAnInvestigator(), EventSchemaBase::SaveAllDiagnoseInvestigatorInforToFile(), and TrackOneInvestigationCase().