← Documentation
ADS-IDAC Engine 5.0.0
EventSchemaBase Class Reference

#include <EventSchemaBase.h>

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

Public Member Functions

bool WhetherItIsNormalOperating ()
 
void RemoveAllTheCaseAssociatedWithAnInvestigator (IDElement *)
 
void UpdateTheBranchingHistory (void *_pt)
 
EventSymptomUnit * FindEventSymptomUnitByID (std::string)
 
EventSchemaUnit * FindEventSchemaUnitByID (std::string)
 
void BuildTheConnectionsForThisEventSchemaBase (void *)
 
SymptomInvestigator * FindSymtomInvestigatorByID (std::string)
 
DiagnoseInvestigator * FindDiagnoseInvestigatorByID (std::string)
 
void CopyESBinfoFromAnother (EventSchemaBase *)
 
void ConvertStaticESBinfoToString ()
 
void CrossCheckProcedureUse ()
 
void PrintMessage (std::string str)
 
void AddNewSymptomCaseWithNewInvestigatorIfNecessary (Investigator *_invest_pt)
 
void SaveAllDiagnoseInvestigatorInforToFile (std::string _path)
 
bool GenerateANewInvestigatorOrNot ()
 
void UpdateTheInterestForInvestigatorOrInvestigatorLink ()
 
void TrackTheOngoingInvestigation ()
 
void LinkNewInvestigatorToDiagnoseInvestigatorIfNecessary (Investigator *_invest_pt)
 
EventSchemaUnit * FindACorrespondingEventSchemaUnitByKE (KnowledgeElement *_KE_pt)
 
DiagnoseInvestigator * FindACorrespondingDiagnoseInvestigatorByKE (KnowledgeElement *_KE_pt)
 
void AddANewDiagnoseInvestigator (DiagnoseInvestigator *_diagnose_invest_pt)
 
void ErrorMessage (std::string)
 
void ReadEventSchemaBaseFromInputFile ()
 
 EventSchemaBase ()
 
virtual ~EventSchemaBase ()
 
- 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

float m_active_investigation_threshold
 
int m_operator
 
float m_diagnose_claim_threshold
 
float m_timing
 
DiagnoseInvestigator * m_timed_DI
 
std::string m_ID_timed_DI
 
std::vector< std::unique_ptr< EventSchemaUnit > > m_event_schema_list
 
std::vector< std::unique_ptr< DiagnoseInvestigator > > m_diagnose_invest_list
 
std::vector< std::string > m_debug_info
 
std::vector< Investigator * > m_interested_invest_list
 
std::vector< InvestigatorLink * > m_interested_invest_link_list
 
std::vector< std::string > m_ID_interested_invest_list
 
std::vector< std::string > m_ID_interested_invest_link_list
 
- Public Attributes inherited from IDElement
int m_ID_Type
 
std::string m_ID
 

Detailed Description

Definition at line 13 of file EventSchemaBase.h.

Constructor & Destructor Documentation

◆ EventSchemaBase()

EventSchemaBase::EventSchemaBase ( )

◆ ~EventSchemaBase()

Member Function Documentation

◆ AddANewDiagnoseInvestigator()

void EventSchemaBase::AddANewDiagnoseInvestigator ( DiagnoseInvestigator *  _diagnose_invest_pt)

◆ AddNewSymptomCaseWithNewInvestigatorIfNecessary()

◆ BuildTheConnectionsForThisEventSchemaBase()

void EventSchemaBase::BuildTheConnectionsForThisEventSchemaBase ( void *  _pt)

◆ ConvertStaticESBinfoToString()

void EventSchemaBase::ConvertStaticESBinfoToString ( )

Definition at line 844 of file EventSchemaBase.cpp.

References e, and m_event_schema_list.

◆ CopyESBinfoFromAnother()

void EventSchemaBase::CopyESBinfoFromAnother ( EventSchemaBase *  _ESB_pt)

◆ CrossCheckProcedureUse()

void EventSchemaBase::CrossCheckProcedureUse ( )

Definition at line 827 of file EventSchemaBase.cpp.

References e, m_diagnose_invest_list, m_operator, and sim::Operator::ODM.

◆ ErrorMessage()

void EventSchemaBase::ErrorMessage ( std::string  )

Definition at line 239 of file EventSchemaBase.cpp.

References r5pars_.

Referenced by BuildTheConnectionsForThisEventSchemaBase(), CopyESBinfoFromAnother(), LinkNewInvestigatorToDiagnoseInvestigatorIfNecessary(), and ReadEventSchemaBaseFromInputFile().

Here is the caller graph for this function:

◆ FindACorrespondingDiagnoseInvestigatorByKE()

DiagnoseInvestigator * EventSchemaBase::FindACorrespondingDiagnoseInvestigatorByKE ( KnowledgeElement *  _KE_pt)

Definition at line 268 of file EventSchemaBase.cpp.

References e, and m_diagnose_invest_list.

◆ FindACorrespondingEventSchemaUnitByKE()

EventSchemaUnit * EventSchemaBase::FindACorrespondingEventSchemaUnitByKE ( KnowledgeElement *  _KE_pt)

Definition at line 282 of file EventSchemaBase.cpp.

References SimulationContext::Action_Taker, SimulationContext::Decision_Maker, e, ReasonMachine::FindAnIndefiniteSentenceMatchTheInputSentence(), g_sim, m_event_schema_list, ReasonMachine::m_IB, KnowledgeElement::m_negation, m_operator, Operator::m_RM, KnowledgeElement::m_SentenceUnit_pt, sim::Operator::OAT, and sim::Operator::ODM.

Here is the call graph for this function:

◆ FindDiagnoseInvestigatorByID()

DiagnoseInvestigator * EventSchemaBase::FindDiagnoseInvestigatorByID ( std::string  )

Definition at line 956 of file EventSchemaBase.cpp.

References e, and m_diagnose_invest_list.

Referenced by BuildTheConnectionsForThisEventSchemaBase().

Here is the caller graph for this function:

◆ FindEventSchemaUnitByID()

EventSchemaUnit * EventSchemaBase::FindEventSchemaUnitByID ( std::string  )

Definition at line 1042 of file EventSchemaBase.cpp.

References e, and m_event_schema_list.

◆ FindEventSymptomUnitByID()

EventSymptomUnit * EventSchemaBase::FindEventSymptomUnitByID ( std::string  )

Definition at line 1054 of file EventSchemaBase.cpp.

References m_event_schema_list.

◆ FindSymtomInvestigatorByID()

SymptomInvestigator * EventSchemaBase::FindSymtomInvestigatorByID ( std::string  )

Definition at line 971 of file EventSchemaBase.cpp.

References m_diagnose_invest_list.

◆ GenerateANewInvestigatorOrNot()

◆ LinkNewInvestigatorToDiagnoseInvestigatorIfNecessary()

void EventSchemaBase::LinkNewInvestigatorToDiagnoseInvestigatorIfNecessary ( Investigator *  _invest_pt)

Definition at line 321 of file EventSchemaBase.cpp.

References ErrorMessage(), m_diagnose_invest_list, Investigator::m_KElement_ID_pt, Investigator::m_motivation, Statement::m_sent_pt, Statement::m_state, and Investigator::m_Statement_pt.

Here is the call graph for this function:

◆ PrintMessage()

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

Definition at line 815 of file EventSchemaBase.cpp.

References r5pars_.

Referenced by GenerateANewInvestigatorOrNot(), and RemoveAllTheCaseAssociatedWithAnInvestigator().

Here is the caller graph for this function:

◆ ReadEventSchemaBaseFromInputFile()

◆ RemoveAllTheCaseAssociatedWithAnInvestigator()

◆ SaveAllDiagnoseInvestigatorInforToFile()

◆ TrackTheOngoingInvestigation()

void EventSchemaBase::TrackTheOngoingInvestigation ( )

Definition at line 363 of file EventSchemaBase.cpp.

References e, and m_diagnose_invest_list.

Referenced by UpdateTheInterestForInvestigatorOrInvestigatorLink().

Here is the caller graph for this function:

◆ UpdateTheBranchingHistory()

void EventSchemaBase::UpdateTheBranchingHistory ( void *  _pt)

Definition at line 1070 of file EventSchemaBase.cpp.

References e, and m_diagnose_invest_list.

◆ UpdateTheInterestForInvestigatorOrInvestigatorLink()

void EventSchemaBase::UpdateTheInterestForInvestigatorOrInvestigatorLink ( )

Definition at line 371 of file EventSchemaBase.cpp.

References TrackTheOngoingInvestigation().

Here is the call graph for this function:

◆ WhetherItIsNormalOperating()

bool EventSchemaBase::WhetherItIsNormalOperating ( )

Definition at line 1156 of file EventSchemaBase.cpp.

References e, and m_diagnose_invest_list.

Member Data Documentation

◆ m_active_investigation_threshold

float EventSchemaBase::m_active_investigation_threshold

◆ m_debug_info

std::vector<std::string> EventSchemaBase::m_debug_info

◆ m_diagnose_claim_threshold

float EventSchemaBase::m_diagnose_claim_threshold

◆ m_diagnose_invest_list

◆ m_event_schema_list

◆ m_ID_interested_invest_link_list

std::vector<std::string> EventSchemaBase::m_ID_interested_invest_link_list

◆ m_ID_interested_invest_list

std::vector<std::string> EventSchemaBase::m_ID_interested_invest_list

◆ m_ID_timed_DI

std::string EventSchemaBase::m_ID_timed_DI

◆ m_interested_invest_link_list

std::vector<InvestigatorLink *> EventSchemaBase::m_interested_invest_link_list

◆ m_interested_invest_list

std::vector<Investigator *> EventSchemaBase::m_interested_invest_list

◆ m_operator

◆ m_timed_DI

◆ m_timing

float EventSchemaBase::m_timing

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