← Documentation
ADS-IDAC Engine 5.0.0
SymptomInvestigator Class Reference

#include <SymptomInvestigator.h>

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

Public Member Functions

void BoostTheActivationOfOngoingInvestigation ()
 
void BuildConnectionsForThisSymptomInvestigator (void *)
 
void CopySymptomInvestigatorInfoFromAnother (SymptomInvestigator *)
 
void PrintMessage (std::string str)
 
float GetLastConfirmationTime ()
 
KnowledgeUnit * CheckAKnowledgeUnitInTheList (KnowledgeUnit *_KU_pt)
 
float GetTheLastRejectionTime ()
 
void RemoveADeterminedCaseFromCandiateList (SymptomCase *_case_pt)
 
void MoveCaseFromCandidateTo (SymptomCase *_case_pt, std::vector< std::unique_ptr< SymptomCase > > &_target)
 
void TrackOneInvestigationCase (SymptomCase *_case_pt)
 
void SITrackTheOngoingInvestigation ()
 
SymptomCase * FindASymptomCaseByInvestigator (Investigator *_invest_pt)
 
void InitiallyCompareAnInvestigationTraceWithThePrototype (SymptomCase *)
 
void ErrorMessage (std::string)
 
void InitiationOfthisSymptomInvestigator ()
 
 SymptomInvestigator ()
 
virtual ~SymptomInvestigator ()
 
- Public Member Functions inherited from IDElement
void CopyIDElementToRestartInfo (IDElement *)
 
 IDElement ()
 
virtual ~IDElement ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

bool m_can_not_explain_opposite_bl
 
KnowledgeElement * m_opposite_KE_pt
 
std::string m_opposite_KE_ID
 
bool m_need_to_invest_opposite_bl
 
IDElement * m_DI_ID_pt
 
std::string m_ID_DI
 
int m_operator
 
float m_independent_symptom_probability
 
float m_attention_level
 
float m_last_case_end_time
 
IDElement * m_label_ID_pt
 
EventSymptomUnit * m_event_symptom_pt
 
KnowledgeElement * m_symptom_KE_pt
 
std::string m_ID_lable
 
std::string m_ID_esu
 
std::string m_ID_KE
 
std::vector< Investigator * > m_ongoing_invest_list
 
std::vector< InvestigatorLink * > m_ongoing_invest_link_list
 
std::vector< std::string > m_ID_ongoing_invest_list
 
std::vector< std::string > m_ID_ongoing_invest_link_list
 
std::vector< std::unique_ptr< SymptomCase > > m_candidate_case_list
 
std::vector< std::unique_ptr< SymptomCase > > m_confirmed_case_list
 
std::vector< std::unique_ptr< SymptomCase > > m_rejected_case_list
 
std::vector< std::unique_ptr< SymptomCase > > m_inconsistant_case_list
 
std::vector< std::unique_ptr< SymptomCase > > m_exception_case_list
 
std::vector< std::unique_ptr< SymptomCase > > m_partial_consistant_case_list
 
std::vector< std::unique_ptr< SymptomCase > > m_discarded_case_list
 
std::vector< std::unique_ptr< SymptomCase > > m_voided_case_list
 
- Public Attributes inherited from IDElement
int m_ID_Type
 
std::string m_ID
 

Detailed Description

Definition at line 13 of file SymptomInvestigator.h.

Constructor & Destructor Documentation

◆ SymptomInvestigator()

◆ ~SymptomInvestigator()

SymptomInvestigator::~SymptomInvestigator ( )
virtual

Member Function Documentation

◆ BoostTheActivationOfOngoingInvestigation()

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().

Here is the caller graph for this function:

◆ BuildConnectionsForThisSymptomInvestigator()

◆ CheckAKnowledgeUnitInTheList()

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().

Here is the caller graph for this function:

◆ CopySymptomInvestigatorInfoFromAnother()

◆ ErrorMessage()

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().

Here is the caller graph for this function:

◆ FindASymptomCaseByInvestigator()

SymptomCase * SymptomInvestigator::FindASymptomCaseByInvestigator ( Investigator *  _invest_pt)

Definition at line 298 of file SymptomInvestigator.cpp.

References e, and m_candidate_case_list.

◆ GetLastConfirmationTime()

float SymptomInvestigator::GetLastConfirmationTime ( )

Definition at line 1026 of file SymptomInvestigator.cpp.

References ErrorMessage(), m_confirmed_case_list, and SymptomCase::m_confirmed_time.

Here is the call graph for this function:

◆ GetTheLastRejectionTime()

float SymptomInvestigator::GetTheLastRejectionTime ( )

Definition at line 998 of file SymptomInvestigator.cpp.

References e, and m_rejected_case_list.

◆ InitiallyCompareAnInvestigationTraceWithThePrototype()

◆ InitiationOfthisSymptomInvestigator()

◆ MoveCaseFromCandidateTo()

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().

Here is the caller graph for this function:

◆ PrintMessage()

void SymptomInvestigator::PrintMessage ( std::string  str)

Definition at line 1039 of file SymptomInvestigator.cpp.

References r5pars_.

Referenced by RemoveADeterminedCaseFromCandiateList(), SITrackTheOngoingInvestigation(), and TrackOneInvestigationCase().

Here is the caller graph for this function:

◆ RemoveADeterminedCaseFromCandiateList()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SITrackTheOngoingInvestigation()

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().

Here is the call graph for this function:

◆ 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().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_attention_level

◆ m_can_not_explain_opposite_bl

bool SymptomInvestigator::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

◆ m_ID_DI

◆ m_ID_esu

◆ m_ID_KE

◆ m_ID_lable

◆ m_ID_ongoing_invest_link_list

std::vector<std::string> SymptomInvestigator::m_ID_ongoing_invest_link_list

◆ m_ID_ongoing_invest_list

std::vector<std::string> SymptomInvestigator::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

std::vector<std::unique_ptr<SymptomCase> > SymptomInvestigator::m_partial_consistant_case_list

◆ m_rejected_case_list

◆ m_symptom_KE_pt

◆ m_voided_case_list


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