|
ADS-IDAC Engine 5.0.0
|
#include <Statement.h>
Public Attributes | |
| int | m_operator |
| int | m_factual_type |
| float | m_confidence |
| bool | m_state |
| double | m_last_activated_time |
| double | m_time_generated |
| bool | m_ongoing_bl |
| bool | m_tbi_bl |
| TimeRange | m_time_range |
| IDElement * | m_investigator_ID_pt |
| SentenceUnit * | m_sent_pt |
| IDElement * | m_diagnose_invest_ID_pt |
| std::vector< Statement * > | m_upperstream_statement_list |
| std::vector< Statement * > | m_downstream_statement_list |
| std::string | m_ID_investigator |
| std::string | m_ID_sentence |
| std::string | m_ID_DI |
| std::vector< std::string > | m_ID_upperstream_statement_list |
| std::vector< std::string > | m_ID_downstream_statement_list |
Public Attributes inherited from IDElement | |
| int | m_ID_Type |
| std::string | m_ID |
Public Attributes inherited from Activation | |
| double | m_change_ratio |
| double | m_activation_baseline |
| double | m_activation |
| double | m_old_activation |
Definition at line 11 of file Statement.h.
| Statement::Statement | ( | ) |
Definition at line 25 of file Statement.cpp.
References m_diagnose_invest_ID_pt, m_ID_DI, m_ID_investigator, m_ID_sentence, IDElement::m_ID_Type, m_investigator_ID_pt, m_ongoing_bl, m_sent_pt, m_state, and m_tbi_bl.
|
virtual |
Definition at line 46 of file Statement.cpp.
References m_downstream_statement_list, m_ID_downstream_statement_list, m_ID_upperstream_statement_list, and m_upperstream_statement_list.
| void Statement::BuildConnectionsToThisStatement | ( | void * | _pt | ) |
Definition at line 296 of file Statement.cpp.
References ErrorMessage(), ReasonMachine::FindInvestigatorByID(), ReasonMachine::FindStatementByID(), m_diagnose_invest_ID_pt, m_downstream_statement_list, ReasonMachine::m_event_schema_base, m_ID_DI, m_ID_downstream_statement_list, m_ID_investigator, m_ID_sentence, m_ID_upperstream_statement_list, m_investigator_ID_pt, m_sent_pt, m_upperstream_statement_list, and ReasonMachine::SearchSentenceByID().
| void Statement::CopyAuxInfoFromUpperstreamStatement | ( | Statement * | _upper_statement_pt | ) |
Definition at line 206 of file Statement.cpp.
References m_confidence, TimeRange::m_end_time, m_ongoing_bl, TimeRange::m_start_time, TimeRange::m_time_after, TimeRange::m_time_before, and m_time_range.
Referenced by Investigator::FindAMatchingStatement3002(), and ReasonMachine::MakeOneStepInferenceFromAStatement().
| void Statement::CopyStatementInfoFromAnother | ( | Statement * | _state_pt | ) |
Definition at line 215 of file Statement.cpp.
References Activation::CopyActivationToRestartInfo(), IDElement::CopyIDElementToRestartInfo(), TimeRange::CopyTimeRangeFromAnother(), ErrorMessage(), m_confidence, m_diagnose_invest_ID_pt, m_factual_type, IDElement::m_ID, m_ID_DI, m_ID_downstream_statement_list, m_ID_investigator, m_ID_sentence, m_ID_upperstream_statement_list, m_investigator_ID_pt, m_last_activated_time, m_ongoing_bl, m_operator, m_sent_pt, m_state, m_tbi_bl, m_time_generated, m_time_range, and m_upperstream_statement_list.
| void Statement::ErrorMessage | ( | std::string | ) |
Definition at line 150 of file Statement.cpp.
References r5pars_.
Referenced by BuildConnectionsToThisStatement(), CopyStatementInfoFromAnother(), and RefreshStatementEndTimeToCurrentTime().
| string Statement::GetThisStatementWords | ( | ) |
Definition at line 159 of file Statement.cpp.
References TimeRange::m_end_time, IDElement::m_ID, m_sent_pt, TimeRange::m_start_time, m_state, TimeRange::m_time_after, TimeRange::m_time_before, and m_time_range.
Referenced by ReasonMachine::AddANewStatement(), Investigator::CompareKEandStatement3007(), Investigator::GetASimpleDescriptionOfThisInvestigator(), Investigator::GetCorrespondingKE3001(), RefreshStatementEndTimeToCurrentTime(), and Investigator::WhetherItIsAvailablefromMR3003().
| void Statement::PrintMessage | ( | std::string | ) |
Definition at line 197 of file Statement.cpp.
References r5pars_.
Referenced by RefreshStatementEndTimeToCurrentTime().
| void Statement::PrintThisStatement | ( | ) |
Definition at line 117 of file Statement.cpp.
References TimeRange::m_end_time, IDElement::m_ID, m_sent_pt, TimeRange::m_start_time, m_state, TimeRange::m_time_after, TimeRange::m_time_before, and m_time_range.
Referenced by ReasonMachine::AddNewInvestigator().
| void Statement::PropagateFullActivationToSemanticSentence | ( | ) |
Definition at line 68 of file Statement.cpp.
References Activation::m_activation, Activation::m_change_ratio, and m_sent_pt.
| void Statement::RefreshStatementEndTimeToCurrentTime | ( | int | _type | ) |
Definition at line 73 of file Statement.cpp.
References SimulationContext::Action_Taker, ReasonMachine::ActivationUpdateByRefreshAStatement(), SimulationContext::Decision_Maker, ErrorMessage(), g_sim, GetThisStatementWords(), m_downstream_statement_list, TimeRange::m_end_time, Investigator::m_explained, m_investigator_ID_pt, m_last_activated_time, m_operator, Operator::m_RM, m_sent_pt, TimeRange::m_time_before, m_time_range, sim::Operator::OAT, sim::Operator::ODM, PrintMessage(), r5pars_, and Investigator::UpdateEffectiveEndTimeRangeFromStatement().
Referenced by MRAlarmUnit::AddNewAlarmState(), MRAlarmUnit::AddNewAlarmStateForFirstRoundCheck(), MRComponentStateUnit::AddNewPositionValue(), MRComponentStateUnit::AddNewPositionValueForFirstRoundCheck(), MRParameterUnit::AddNewRate(), MRParameterUnit::AddNewRateForFirstRoundCheck(), MRComponentStateUnit::AddNewState(), MRSupportSystemStateUnit::AddNewState(), MRComponentStateUnit::AddNewStateForFirstRoundCheck(), MRSupportSystemStateUnit::AddNewStateForFirstRoundCheck(), MRParameterUnit::AddNewValue(), MRParameterUnit::AddNewValueForFirstRoundCheck(), and MentalRepresentation::UpdateMRwithNewInference().
| float Statement::m_confidence |
Definition at line 34 of file Statement.h.
Referenced by Investigator::BackwardPropagateConfidenceLevel(), ReasonMachine::CheckWhetherASentenceIsTrueFromMR(), CopyAuxInfoFromUpperstreamStatement(), CopyStatementInfoFromAnother(), Investigator::EvaluateAfterGetNewFeedback3014(), ReasonMachine::SaveStatementsToFile(), boost::serialization::serialize(), MentalRepresentation::UpdateMRwithNewInference(), and Investigator::WhetherItIsAvailablefromMR3003().
| IDElement* Statement::m_diagnose_invest_ID_pt |
Definition at line 44 of file Statement.h.
Referenced by Investigator::BackwardPropagateConfidenceLevel(), BuildConnectionsToThisStatement(), CopyStatementInfoFromAnother(), and Statement().
| std::vector<Statement *> Statement::m_downstream_statement_list |
Definition at line 46 of file Statement.h.
Referenced by ReasonMachine::AutoIgnitionOfDecayedInvestigatorInitiatedByActivatingAStatement(), BuildConnectionsToThisStatement(), Investigator::FindAMatchingStatement3002(), ReasonMachine::MakeOneStepInferenceFromAStatement(), RefreshStatementEndTimeToCurrentTime(), and ~Statement().
| int Statement::m_factual_type |
Definition at line 33 of file Statement.h.
Referenced by Investigator::BackwardPropagateConfidenceLevel(), InvestigatorLink::BackwardPropagateConfidenceLevel(), InvestigatorLink::CheckThePathStatus3102(), ReasonMachine::CheckWhetherASentenceIsTrueFromMR(), Investigator::CompareKEandStatement3007(), CopyStatementInfoFromAnother(), Investigator::EvaluateAfterGetNewFeedback3014(), Investigator::FindAMatchingStatement3002(), InvestigatorLink::FinishThePausedConfidencePropagationBeforeCloseInvestigatorLink(), Investigator::InitiateBackwardPropagationOfConfidence(), ReasonMachine::MakeOneStepInferenceFromAStatement(), boost::serialization::serialize(), MentalRepresentation::UpdateMRwithNewInference(), and Investigator::WhetherItIsAvailablefromMR3003().
| std::string Statement::m_ID_DI |
Definition at line 50 of file Statement.h.
Referenced by BuildConnectionsToThisStatement(), CopyStatementInfoFromAnother(), boost::serialization::serialize(), and Statement().
| std::vector<std::string> Statement::m_ID_downstream_statement_list |
Definition at line 52 of file Statement.h.
Referenced by BuildConnectionsToThisStatement(), CopyStatementInfoFromAnother(), boost::serialization::serialize(), and ~Statement().
| std::string Statement::m_ID_investigator |
Definition at line 48 of file Statement.h.
Referenced by BuildConnectionsToThisStatement(), CopyStatementInfoFromAnother(), boost::serialization::serialize(), Statement(), MRComponentStateUnit::UpdateTheRelevantInvestigator(), and MRSupportSystemStateUnit::UpdateTheRelevantInvestigator().
| std::string Statement::m_ID_sentence |
Definition at line 49 of file Statement.h.
Referenced by BuildConnectionsToThisStatement(), CopyStatementInfoFromAnother(), boost::serialization::serialize(), and Statement().
| std::vector<std::string> Statement::m_ID_upperstream_statement_list |
Definition at line 51 of file Statement.h.
Referenced by BuildConnectionsToThisStatement(), CopyStatementInfoFromAnother(), boost::serialization::serialize(), and ~Statement().
| IDElement* Statement::m_investigator_ID_pt |
Definition at line 42 of file Statement.h.
Referenced by MRAlarmUnit::AddNewAlarmState(), MRComponentStateUnit::AddNewPositionValue(), MRParameterUnit::AddNewRate(), MRComponentStateUnit::AddNewState(), MRSupportSystemStateUnit::AddNewState(), MRParameterUnit::AddNewValue(), ReasonMachine::AutoIgnitionOfDecayedInvestigatorInitiatedByActivatingAStatement(), BuildConnectionsToThisStatement(), CopyStatementInfoFromAnother(), ReasonMachine::FindAMatchingInvestigatorForAStatement(), ReasonMachine::MakeOneStepInferenceFromAStatement(), RefreshStatementEndTimeToCurrentTime(), Statement(), MentalRepresentation::UpdateMRwithNewInference(), MRParameterUnit::UpdateTheRelevantInvestigator(), and Investigator::WhetherItIsAvailablefromMR3003().
| double Statement::m_last_activated_time |
Definition at line 36 of file Statement.h.
Referenced by ReasonMachine::ActivationUpdateByRefreshAStatement(), ReasonMachine::AddANewStatement(), CopyStatementInfoFromAnother(), Investigator::EvaluateAfterGetNewFeedback3014(), RefreshStatementEndTimeToCurrentTime(), and boost::serialization::serialize().
| bool Statement::m_ongoing_bl |
Definition at line 38 of file Statement.h.
Referenced by CopyAuxInfoFromUpperstreamStatement(), CopyStatementInfoFromAnother(), boost::serialization::serialize(), and Statement().
| int Statement::m_operator |
Definition at line 32 of file Statement.h.
Referenced by ReasonMachine::AddANewStatement(), CopyStatementInfoFromAnother(), Investigator::FindAMatchingStatement3002(), RefreshStatementEndTimeToCurrentTime(), and boost::serialization::serialize().
| SentenceUnit* Statement::m_sent_pt |
Definition at line 43 of file Statement.h.
Referenced by ReasonMachine::ActivationUpdateByRefreshAStatement(), ReasonMachine::AddANewStatement(), MRAlarmUnit::AddNewAlarmState(), ReasonMachine::AddNewInvestigator(), MRComponentStateUnit::AddNewPositionValue(), MRComponentStateUnit::AddNewPositionValueForFirstRoundCheck(), MRParameterUnit::AddNewRate(), MRParameterUnit::AddNewRateForFirstRoundCheck(), MRComponentStateUnit::AddNewState(), MRSupportSystemStateUnit::AddNewState(), EventSchemaBase::AddNewSymptomCaseWithNewInvestigatorIfNecessary(), MRParameterUnit::AddNewValue(), MRParameterUnit::AddNewValueForFirstRoundCheck(), ReasonMachine::AutoIgnitionOfDecayedInvestigatorInitiatedByActivatingAStatement(), Investigator::BackwardPropagateConfidenceLevel(), BuildConnectionsToThisStatement(), ReasonMachine::CheckWhetherASentenceIsTrueFromMR(), Investigator::CheckWhetherTheFoundStatementConsistantWithKE(), Investigator::CompareKEandStatement3007(), CopyStatementInfoFromAnother(), Investigator::EvaluateAfterGetNewFeedback3014(), ReasonMachine::FindAMatchingInvestigatorForAStatement(), Investigator::FindAMatchingStatement3002(), ReasonMachine::FindASimilarInvestigatorRecentlyResolved(), ReasonMachine::FindASimilarOngoingInvestigator(), ReasonMachine::FindKnowledgeElementByStatement(), ReasonMachine::FoundASimilarStatementInLast10Seconds(), Investigator::GetActivation(), Investigator::GetSemanticSentenceOfThisInvestigator(), GetThisStatementWords(), DiagnoseInvestigator::InitiationOfthisDiagnoseInvestigator(), SymptomInvestigator::InitiationOfthisSymptomInvestigator(), EventSchemaBase::LinkNewInvestigatorToDiagnoseInvestigatorIfNecessary(), ReasonMachine::MakeOneStepInferenceFromAStatement(), Investigator::PrintCausalOrInferenceLink(), PrintThisStatement(), PropagateFullActivationToSemanticSentence(), RefreshStatementEndTimeToCurrentTime(), ReasonMachine::SaveInvestigationsToFile(), ReasonMachine::SaveRMHisoty(), ReasonMachine::SaveStatementsToFile(), Statement(), SymptomInvestigator::TrackOneInvestigationCase(), MentalRepresentation::UpdateMRwithNewInference(), and Investigator::WhetherItIsAvailablefromMR3003().
| bool Statement::m_state |
Definition at line 35 of file Statement.h.
Referenced by EventSchemaBase::AddNewSymptomCaseWithNewInvestigatorIfNecessary(), Investigator::BackwardPropagateConfidenceLevel(), ReasonMachine::CheckWhetherASentenceIsTrueFromMR(), Investigator::CheckWhetherTheFoundStatementConsistantWithKE(), CopyStatementInfoFromAnother(), Investigator::EvaluateAfterGetNewFeedback3014(), ReasonMachine::FindAMatchingInvestigatorForAStatement(), Investigator::FindAMatchingStatement3002(), ReasonMachine::FindASimilarOngoingInvestigator(), ReasonMachine::FindKnowledgeElementByStatement(), ReasonMachine::FoundASimilarStatementInLast10Seconds(), GetThisStatementWords(), DiagnoseInvestigator::InitiationOfthisDiagnoseInvestigator(), EventSchemaBase::LinkNewInvestigatorToDiagnoseInvestigatorIfNecessary(), ReasonMachine::MakeOneStepInferenceFromAStatement(), PrintThisStatement(), ReasonMachine::SaveInvestigationsToFile(), ReasonMachine::SaveStatementsToFile(), boost::serialization::serialize(), Statement(), SymptomInvestigator::TrackOneInvestigationCase(), MentalRepresentation::UpdateMRwithNewInference(), and Investigator::WhetherItIsAvailablefromMR3003().
| bool Statement::m_tbi_bl |
Definition at line 39 of file Statement.h.
Referenced by MRAlarmUnit::AddNewAlarmState(), MRAlarmUnit::AddNewAlarmStateForFirstRoundCheck(), MRParameterUnit::AddNewRate(), MRComponentStateUnit::AddNewState(), MRSupportSystemStateUnit::AddNewState(), MRComponentStateUnit::AddNewStateForFirstRoundCheck(), MRSupportSystemStateUnit::AddNewStateForFirstRoundCheck(), MRParameterUnit::AddNewValue(), MRParameterUnit::AddNewValueForFirstRoundCheck(), CopyStatementInfoFromAnother(), Investigator::FindAMatchingStatement3002(), boost::serialization::serialize(), and Statement().
| double Statement::m_time_generated |
Definition at line 37 of file Statement.h.
Referenced by ReasonMachine::AddANewStatement(), CopyStatementInfoFromAnother(), Investigator::EvaluateAfterGetNewFeedback3014(), Investigator::FindAMatchingStatement3002(), ReasonMachine::FoundASimilarStatementInLast10Seconds(), Investigator::GetInitiationTimeOrStatementTimeOrLastActiveTime(), ReasonMachine::MakeOneStepInferenceFromAStatement(), ReasonMachine::SaveStatementsToFile(), and boost::serialization::serialize().
| TimeRange Statement::m_time_range |
Definition at line 40 of file Statement.h.
Referenced by MRParameterUnit::AddNewValue(), Investigator::BackwardPropagateConfidenceLevel(), ReasonMachine::CheckWhetherASentenceIsTrueFromMR(), Investigator::CompareKEandStatement3007(), CopyAuxInfoFromUpperstreamStatement(), CopyStatementInfoFromAnother(), Investigator::EvaluateAfterGetNewFeedback3014(), ReasonMachine::FindAMatchingInvestigatorForAStatement(), Investigator::FindAMatchingStatement3002(), ReasonMachine::FindASimilarInvestigatorRecentlyResolved(), ReasonMachine::FindASimilarOngoingInvestigator(), ReasonMachine::FindCorrespondingStatementWithinTimeRange(), ReasonMachine::FindRecentStatementBySentence(), ReasonMachine::FoundASimilarStatementInLast10Seconds(), Investigator::GetCorrespondingKE3001(), GetThisStatementWords(), ReasonMachine::MakeOneStepInferenceFromAStatement(), PrintThisStatement(), RefreshStatementEndTimeToCurrentTime(), ReasonMachine::SaveStatementsToFile(), Investigator::SearchForPossibleCauses3012(), boost::serialization::serialize(), MentalRepresentation::UpdateMRwithNewInference(), and Investigator::WhetherItIsAvailablefromMR3003().
| std::vector<Statement *> Statement::m_upperstream_statement_list |
Definition at line 45 of file Statement.h.
Referenced by ReasonMachine::AutoIgnitionOfDecayedInvestigatorInitiatedByActivatingAStatement(), BuildConnectionsToThisStatement(), CopyStatementInfoFromAnother(), Investigator::FindAMatchingStatement3002(), ReasonMachine::MakeOneStepInferenceFromAStatement(), and ~Statement().