← Documentation
ADS-IDAC Engine 5.0.0
Statement Class Reference

#include <Statement.h>

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

Public Member Functions

void BuildConnectionsToThisStatement (void *)
 
void CopyStatementInfoFromAnother (Statement *)
 
void CopyAuxInfoFromUpperstreamStatement (Statement *)
 
void PrintMessage (std::string)
 
std::string GetThisStatementWords ()
 
void ErrorMessage (std::string)
 
void PrintThisStatement ()
 
void RefreshStatementEndTimeToCurrentTime (int)
 
void PropagateFullActivationToSemanticSentence ()
 
 Statement ()
 
virtual ~Statement ()
 
- Public Member Functions inherited from IDElement
void CopyIDElementToRestartInfo (IDElement *)
 
 IDElement ()
 
virtual ~IDElement ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from Activation
void UpdateTheBaseLineValueAfterAChange (float _decay_lamda)
 
void UpdateChangeRatio ()
 
void ResetChangeRatio ()
 
void ChangeActivationByRatio (float)
 
void CopyActivationToRestartInfo (Activation *)
 
void SetNewActivation (double)
 
void ActivationDecay (double)
 
 Activation ()
 
virtual ~Activation ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

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
 

Detailed Description

Definition at line 11 of file Statement.h.

Constructor & Destructor Documentation

◆ Statement()

◆ ~Statement()

Statement::~Statement ( )
virtual

Member Function Documentation

◆ BuildConnectionsToThisStatement()

void Statement::BuildConnectionsToThisStatement ( void *  _pt)

◆ CopyAuxInfoFromUpperstreamStatement()

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

Here is the caller graph for this function:

◆ CopyStatementInfoFromAnother()

◆ ErrorMessage()

void Statement::ErrorMessage ( std::string  )

Definition at line 150 of file Statement.cpp.

References r5pars_.

Referenced by BuildConnectionsToThisStatement(), CopyStatementInfoFromAnother(), and RefreshStatementEndTimeToCurrentTime().

Here is the caller graph for this function:

◆ GetThisStatementWords()

string Statement::GetThisStatementWords ( )

◆ PrintMessage()

void Statement::PrintMessage ( std::string  )

Definition at line 197 of file Statement.cpp.

References r5pars_.

Referenced by RefreshStatementEndTimeToCurrentTime().

Here is the caller graph for this function:

◆ PrintThisStatement()

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

Here is the caller graph for this function:

◆ PropagateFullActivationToSemanticSentence()

void Statement::PropagateFullActivationToSemanticSentence ( )

Definition at line 68 of file Statement.cpp.

References Activation::m_activation, Activation::m_change_ratio, and m_sent_pt.

◆ RefreshStatementEndTimeToCurrentTime()

void Statement::RefreshStatementEndTimeToCurrentTime ( int  _type)

Member Data Documentation

◆ m_confidence

◆ m_diagnose_invest_ID_pt

◆ m_downstream_statement_list

◆ m_factual_type

◆ m_ID_DI

std::string Statement::m_ID_DI

◆ m_ID_downstream_statement_list

std::vector<std::string> Statement::m_ID_downstream_statement_list

◆ m_ID_investigator

◆ m_ID_sentence

std::string Statement::m_ID_sentence

◆ m_ID_upperstream_statement_list

std::vector<std::string> Statement::m_ID_upperstream_statement_list

◆ m_investigator_ID_pt

◆ m_last_activated_time

◆ m_ongoing_bl

bool Statement::m_ongoing_bl

◆ m_operator

◆ m_sent_pt

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

◆ m_state

◆ m_tbi_bl

◆ m_time_generated

◆ m_time_range

◆ m_upperstream_statement_list


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