|
ADS-IDAC Engine 5.0.0
|
#include <MentalRepresentation.h>
Public Member Functions | |
| void | BuildConnectionsForMentalRepresentation (void *) |
| IDElement * | FindMRUnitByID (std::string) |
| void | CopyMentalRepresentationFromAnother (MentalRepresentation *) |
| void | UpdateMRwithNewInference (Statement *) |
| void | SaveMentalRepresentationInforToFile (std::string _path) |
| void | ErrorMessage (std::string) |
| void | FirstRoundCheckOftheMR () |
| IDElement * | CheckExistenceByConceptName (std::string) |
| IDElement * | CheckExistenceByConceptStrict (IDElement *) |
| IDElement * | CheckExistenceByIndicationName (std::string) |
| void | ReadMentalRepresentationtInfoFromInputFile () |
| MentalRepresentation () | |
| virtual | ~MentalRepresentation () |
Public Attributes | |
| int | m_operator |
| bool | m_check_value_or_rate |
| bool | m_first_round_initiated_bl |
| std::vector< std::unique_ptr< MRParameterUnit > > | m_MRParameter_list |
| std::vector< std::unique_ptr< MRComponentStateUnit > > | m_MRComponent_list |
| std::vector< std::unique_ptr< MRSupportSystemStateUnit > > | m_MRSupportSystem_list |
| std::vector< std::unique_ptr< MRAlarmUnit > > | m_MRAlarm_list |
| decltype(m_MRParameter_list) ::iterator | m_MR_P_itr |
| decltype(m_MRComponent_list) ::iterator | m_MR_C_itr |
| decltype(m_MRSupportSystem_list) ::iterator | m_MR_SS_itr |
| decltype(m_MRAlarm_list) ::iterator | m_MR_A_itr |
Definition at line 17 of file MentalRepresentation.h.
| MentalRepresentation::MentalRepresentation | ( | ) |
Definition at line 22 of file MentalRepresentation.cpp.
References m_check_value_or_rate, m_first_round_initiated_bl, m_MR_A_itr, m_MR_C_itr, m_MR_P_itr, m_MRAlarm_list, m_MRComponent_list, and m_MRParameter_list.
|
virtual |
Definition at line 33 of file MentalRepresentation.cpp.
| void MentalRepresentation::BuildConnectionsForMentalRepresentation | ( | void * | _pt | ) |
Definition at line 1422 of file MentalRepresentation.cpp.
References m_MRAlarm_list, m_MRComponent_list, m_MRParameter_list, and m_MRSupportSystem_list.
| IDElement * MentalRepresentation::CheckExistenceByConceptName | ( | std::string | ) |
Definition at line 395 of file MentalRepresentation.cpp.
References MRComponentStateUnit::m_Concept_ID_pt, MRParameterUnit::m_Concept_ID_pt, MRSupportSystemStateUnit::m_Concept_ID_pt, MRAlarmUnit::m_Concept_pt, IDElement::m_ID, m_MRAlarm_list, m_MRComponent_list, m_MRParameter_list, and m_MRSupportSystem_list.
Definition at line 354 of file MentalRepresentation.cpp.
References MRComponentStateUnit::m_Concept_ID_pt, MRParameterUnit::m_Concept_ID_pt, MRSupportSystemStateUnit::m_Concept_ID_pt, MRAlarmUnit::m_Concept_pt, IDElement::m_ID, m_MRAlarm_list, m_MRComponent_list, m_MRParameter_list, and m_MRSupportSystem_list.
Referenced by UpdateMRwithNewInference().
| IDElement * MentalRepresentation::CheckExistenceByIndicationName | ( | std::string | ) |
Definition at line 312 of file MentalRepresentation.cpp.
References MRComponentStateUnit::Component_State_Indicator_ID, MRComponentStateUnit::Control_Value_Indicator_ID, MRAlarmUnit::m_alarm_indicator_name, m_MRAlarm_list, m_MRComponent_list, m_MRParameter_list, m_MRSupportSystem_list, MRParameterUnit::m_parameter_indicator_ID, MRParameterUnit::m_parameter_rate_indicator_ID, and MRSupportSystemStateUnit::Support_System_State_Indicator_ID.
| void MentalRepresentation::CopyMentalRepresentationFromAnother | ( | MentalRepresentation * | _MR_pt | ) |
Definition at line 1294 of file MentalRepresentation.cpp.
References ErrorMessage(), m_check_value_or_rate, m_first_round_initiated_bl, m_MR_A_itr, m_MR_C_itr, m_MR_P_itr, m_MR_SS_itr, m_MRAlarm_list, m_MRComponent_list, m_MRParameter_list, m_MRSupportSystem_list, and m_operator.
| void MentalRepresentation::ErrorMessage | ( | std::string | ) |
Definition at line 493 of file MentalRepresentation.cpp.
References r5pars_.
Referenced by CopyMentalRepresentationFromAnother(), ReadMentalRepresentationtInfoFromInputFile(), and UpdateMRwithNewInference().
| IDElement * MentalRepresentation::FindMRUnitByID | ( | std::string | ) |
Definition at line 1404 of file MentalRepresentation.cpp.
References m_MRAlarm_list, m_MRComponent_list, m_MRParameter_list, and m_MRSupportSystem_list.
| void MentalRepresentation::FirstRoundCheckOftheMR | ( | ) |
Definition at line 435 of file MentalRepresentation.cpp.
References SimulationContext::Action_Taker, SimulationContext::Branch_center, SimulationContext::Decision_Maker, g_sim, BranchRecord::getNumOfOATBranch(), BranchRecord::getNumOfODMBranch(), m_check_value_or_rate, ReasonMachine::m_first_round_check_done, m_first_round_initiated_bl, m_MR_A_itr, m_MR_C_itr, m_MR_P_itr, m_MR_SS_itr, m_MRAlarm_list, m_MRComponent_list, m_MRParameter_list, m_MRSupportSystem_list, m_operator, Operator::m_RM, sim::Operator::OAT, sim::Operator::ODM, MRAlarmUnit::ReadAlarmIndication(), MRComponentStateUnit::ReadComponentStateIndication(), MRParameterUnit::ReadParameterRate(), MRParameterUnit::ReadParameterValue(), MRSupportSystemStateUnit::ReadSupportSystemStateIndication(), and ReasonMachine::WaitOneStepThereIsOneOrMoreOperatorBranches().
| void MentalRepresentation::ReadMentalRepresentationtInfoFromInputFile | ( | ) |
Definition at line 37 of file MentalRepresentation.cpp.
References SimulationContext::Action_Taker, MRComponentStateUnit::Component_State_Indicator_ID, MRComponentStateUnit::Control_Value_Indicator_ID, SimulationContext::Decision_Maker, ErrorMessage(), g_sim, Scheduler::getOATDirectory(), Scheduler::getODMDirectory(), MRAlarmUnit::m_alarm_indicator_name, MRComponentStateUnit::m_change_threshold, ReasonMachine::m_Concept_Base, MRAlarmUnit::m_Concept_ID, MRComponentStateUnit::m_concept_ID, MRSupportSystemStateUnit::m_concept_ID, MRComponentStateUnit::m_Concept_ID_pt, MRParameterUnit::m_Concept_ID_pt, MRSupportSystemStateUnit::m_Concept_ID_pt, MRAlarmUnit::m_Concept_pt, MRComponentStateUnit::m_CS_type, MRParameterUnit::m_decrease_rate_threshold, MRParameterUnit::m_decrease_threshold, IDElement::m_ID, MRParameterUnit::m_increase_rate_threshold, MRParameterUnit::m_increase_threshold, m_MRAlarm_list, m_MRComponent_list, m_MRParameter_list, m_MRSupportSystem_list, m_operator, MRAlarmUnit::m_operator, MRComponentStateUnit::m_operator, MRParameterUnit::m_operator, MRSupportSystemStateUnit::m_operator, MRParameterUnit::m_parameter_concept_ID, MRParameterUnit::m_parameter_indicator_ID, MRParameterUnit::m_parameter_rate_indicator_ID, Operator::m_RM, sim::Operator::OAT, sim::Operator::ODM, SimulationContext::SScheduler, and MRSupportSystemStateUnit::Support_System_State_Indicator_ID.
| void MentalRepresentation::SaveMentalRepresentationInforToFile | ( | std::string | _path | ) |
Definition at line 501 of file MentalRepresentation.cpp.
References e, MRComponentStateUnit::m_Concept_ID_pt, MRParameterUnit::m_Concept_ID_pt, MRSupportSystemStateUnit::m_Concept_ID_pt, MRAlarmUnit::m_Concept_pt, MRComponentStateUnit::m_CS_type, MRComponentStateUnit::m_history_position_value, MRComponentStateUnit::m_history_state, MRSupportSystemStateUnit::m_history_state, MRAlarmUnit::m_history_state_list, IDElement::m_ID, m_MRAlarm_list, m_MRComponent_list, m_MRParameter_list, m_MRSupportSystem_list, MRParameterUnit::m_parameter_history_rate, MRParameterUnit::m_parameter_history_value, MRParameterUnit::m_parameter_rate_indicator_ID, MRParameterUnit::m_recent_parameter_rate, MRParameterUnit::m_recent_parameter_value, MRComponentStateUnit::m_recent_position_value, MRAlarmUnit::m_recent_state, MRComponentStateUnit::m_recent_state, and MRSupportSystemStateUnit::m_recent_state.
| void MentalRepresentation::UpdateMRwithNewInference | ( | Statement * | _statement_pt | ) |
Definition at line 671 of file MentalRepresentation.cpp.
References SimulationContext::Action_Taker, ReasonMachine::AddANewStatement(), ReasonMachine::AddDeltaToCognitiveLoad(), ReasonMachine::AddDeltaToSystemDynamics(), ReasonMachine::AddNewInvestigator(), CheckExistenceByConceptStrict(), ReasonMachine::CheckExistInSemanticPoolBySentence(), SimulationContext::Decision_Maker, ErrorMessage(), g_sim, TimeRange::GetTimeBoundLater(), SentenceUnit::m_comparison_pt, ReasonMachine::m_Concept_Base, Statement::m_confidence, MRComponentStateUnit::m_CS_type, TimeRange::m_end_time, Statement::m_factual_type, MRComponentStateUnit::m_history_state, MRSupportSystemStateUnit::m_history_state, MRAlarmUnit::m_history_state_list, IDElement::m_ID_Type, Statement::m_investigator_ID_pt, m_operator, MRStateSchema::m_perceived_state, SentenceUnit::m_process_pt, MRAlarmUnit::m_recent_action_statement, MRComponentStateUnit::m_recent_action_statement, MRSupportSystemStateUnit::m_recent_action_statement, MRParameterUnit::m_recent_parameter_value, MRComponentStateUnit::m_recent_position_value, MRAlarmUnit::m_recent_state, MRComponentStateUnit::m_recent_state, MRSupportSystemStateUnit::m_recent_state, MRAlarmUnit::m_recent_state_statement, MRComponentStateUnit::m_recent_state_statement, MRSupportSystemStateUnit::m_recent_state_statement, MRParameterUnit::m_recent_trend, Operator::m_RM, Statement::m_sent_pt, SentenceUnit::m_sentence_type, TimeRange::m_start_time, Statement::m_state, SentenceUnit::m_state_pt, SentenceUnit::m_subject_pt, TimeRange::m_time_after, TimeRange::m_time_before, MRStateSchema::m_time_perceived, Statement::m_time_range, SentenceUnit::m_value, sim::Operator::OAT, sim::Operator::ODM, r5pars_, Statement::RefreshStatementEndTimeToCurrentTime(), and MRParameterUnit::UpdateTheRelevantInvestigator().
| bool MentalRepresentation::m_check_value_or_rate |
Definition at line 32 of file MentalRepresentation.h.
Referenced by CopyMentalRepresentationFromAnother(), FirstRoundCheckOftheMR(), MentalRepresentation(), and boost::serialization::serialize().
| bool MentalRepresentation::m_first_round_initiated_bl |
Definition at line 33 of file MentalRepresentation.h.
Referenced by CopyMentalRepresentationFromAnother(), FirstRoundCheckOftheMR(), MentalRepresentation(), and boost::serialization::serialize().
| decltype(m_MRAlarm_list) ::iterator MentalRepresentation::m_MR_A_itr |
Definition at line 43 of file MentalRepresentation.h.
Referenced by CopyMentalRepresentationFromAnother(), FirstRoundCheckOftheMR(), and MentalRepresentation().
| decltype(m_MRComponent_list) ::iterator MentalRepresentation::m_MR_C_itr |
Definition at line 41 of file MentalRepresentation.h.
Referenced by CopyMentalRepresentationFromAnother(), FirstRoundCheckOftheMR(), and MentalRepresentation().
| decltype(m_MRParameter_list) ::iterator MentalRepresentation::m_MR_P_itr |
Definition at line 40 of file MentalRepresentation.h.
Referenced by CopyMentalRepresentationFromAnother(), FirstRoundCheckOftheMR(), and MentalRepresentation().
| decltype(m_MRSupportSystem_list) ::iterator MentalRepresentation::m_MR_SS_itr |
Definition at line 42 of file MentalRepresentation.h.
Referenced by CopyMentalRepresentationFromAnother(), and FirstRoundCheckOftheMR().
| std::vector<std::unique_ptr<MRAlarmUnit> > MentalRepresentation::m_MRAlarm_list |
Definition at line 38 of file MentalRepresentation.h.
Referenced by BuildConnectionsForMentalRepresentation(), CheckExistenceByConceptName(), CheckExistenceByConceptStrict(), CheckExistenceByIndicationName(), CopyMentalRepresentationFromAnother(), FindMRUnitByID(), FirstRoundCheckOftheMR(), MentalRepresentation(), ReadMentalRepresentationtInfoFromInputFile(), SaveMentalRepresentationInforToFile(), and boost::serialization::serialize().
| std::vector<std::unique_ptr<MRComponentStateUnit> > MentalRepresentation::m_MRComponent_list |
Definition at line 36 of file MentalRepresentation.h.
Referenced by BuildConnectionsForMentalRepresentation(), CheckExistenceByConceptName(), CheckExistenceByConceptStrict(), CheckExistenceByIndicationName(), CopyMentalRepresentationFromAnother(), FindMRUnitByID(), FirstRoundCheckOftheMR(), MentalRepresentation(), ReadMentalRepresentationtInfoFromInputFile(), SaveMentalRepresentationInforToFile(), and boost::serialization::serialize().
| std::vector<std::unique_ptr<MRParameterUnit> > MentalRepresentation::m_MRParameter_list |
Definition at line 35 of file MentalRepresentation.h.
Referenced by BuildConnectionsForMentalRepresentation(), CheckExistenceByConceptName(), CheckExistenceByConceptStrict(), CheckExistenceByIndicationName(), CopyMentalRepresentationFromAnother(), FindMRUnitByID(), FirstRoundCheckOftheMR(), MentalRepresentation(), ReadMentalRepresentationtInfoFromInputFile(), SaveMentalRepresentationInforToFile(), and boost::serialization::serialize().
| std::vector<std::unique_ptr<MRSupportSystemStateUnit> > MentalRepresentation::m_MRSupportSystem_list |
Definition at line 37 of file MentalRepresentation.h.
Referenced by BuildConnectionsForMentalRepresentation(), CheckExistenceByConceptName(), CheckExistenceByConceptStrict(), CheckExistenceByIndicationName(), CopyMentalRepresentationFromAnother(), FindMRUnitByID(), FirstRoundCheckOftheMR(), ReadMentalRepresentationtInfoFromInputFile(), SaveMentalRepresentationInforToFile(), and boost::serialization::serialize().
| int MentalRepresentation::m_operator |
Definition at line 31 of file MentalRepresentation.h.
Referenced by CopyMentalRepresentationFromAnother(), FirstRoundCheckOftheMR(), ReadMentalRepresentationtInfoFromInputFile(), boost::serialization::serialize(), and UpdateMRwithNewInference().