← Documentation
ADS-IDAC Engine 5.0.0
InvestigatorLink Class Reference

#include <InvestigatorLink.h>

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

Public Member Functions

float GetActivationOfthisLink ()
 
void FinishThePausedConfidencePropagationBeforeCloseInvestigatorLink ()
 
void MarkMHappenIncompleteTrue ()
 
void UpdateMHappenIncomplete ()
 
void ResetTheLastActivationTimeOfTheNextToBeRetrievedInvestigator ()
 
void BoostAttentionOfThisFromDiagnosisInvestigation (float, bool)
 
void BoostActivationOfThisLinkByActiveDiagnosisInvestigation ()
 
void CrankTheNextLikelyRetrievedInvestigatorActivationToOne ()
 
void SetAdummyActivation ()
 
float GetDownstreamInitiationTimeOrStatementTime ()
 
bool CheckWhetherInAThoughtLine (std::string)
 
void AttachThoughtLineToThisLink (std::string)
 
void BuildConnectionsToThisInvestigatorLink (void *)
 
void CopyInvestigatorLinkInfoFromAnother (InvestigatorLink *)
 
IDElement * CheckExistenceInTheRejectedInvestList (IDElement *_ID_pt)
 
IDElement * CheckExistenceInThePossibleInvestList (IDElement *_ID_pt)
 
IDElement * CheckExistenceInTheConfirmedInvestList (IDElement *_ID_pt)
 
void BackwardPropagateConfidenceLevel (float _p)
 
void ErrorMessage (std::string)
 
void PrintMessage (std::string)
 
std::string GetASimpleDescriptionOfTheInvestigatorLink ()
 
void ChangeInvestigatorLinkToken (int)
 
void TransferOutOfThisInvestigatorLink3110 ()
 
float CalculateFilteredPrioritizingScoreOfInvestigatorLink ()
 
void AddTimeConsumptionInInvestigatorLink (double)
 
double CalculateBackwardRetrievalScore ()
 
void FeedBackToDownstreamInvestigator310331043105 ()
 
void CheckThePathStatus3102 ()
 
void RetrieveTheNextLikelyInvestigator3101 ()
 
void OneStepWorkOnThisInvestigatorLink ()
 
 InvestigatorLink ()
 
virtual ~InvestigatorLink ()
 
- 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_has_feedback_to_downstream
 
float m_link_last_activated_time
 
bool m_forgotten_bl
 
std::string m_ID_has_moved_to_invest
 
IDElement * m_has_moved_to_invest
 
bool m_is_a_strong_inference
 
bool m_inference_direction_reverse_bl
 
std::unique_ptr< Activation > m_dummy_activation
 
bool m_Happen_incomplete
 
std::vector< std::string > m_thoughtline_roots_list
 
bool m_invest_link_dormant
 
int m_operator
 
int m_invest_link_Token
 
bool m_invest_link_pause
 
bool m_is_inference_path_bl
 
bool m_is_causal_path_bl
 
float m_interest_from_SymptomInvestigator
 
int m_path_status
 
int m_link_type
 
IDElement * m_SI_ID_pt
 
KnowledgeUnit * m_K_unit_pt
 
IDElement * m_downstream_ID_pt
 
IDElement * m_condition_ID_pt
 
std::vector< std::string > m_pause_confidence_propagation_ID_list
 
std::vector< float > m_paused_confidence_passing_list
 
std::string m_ID_SI
 
std::string m_ID_KU
 
std::string m_ID_downstream
 
std::string m_ID_condition
 
std::vector< int > m_invest_link_Token_history
 
std::vector< float > m_link_token_endtime_history
 
std::vector< IDElement * > m_upperstream_ID_list
 
std::vector< IDElement * > m_explanation_ID_list
 
std::vector< IDElement * > m_confirmed_invest_ID_list
 
std::vector< IDElement * > m_rejected_invest_ID_list
 
std::vector< IDElement * > m_possible_invest_ID_list
 
std::vector< std::string > m_ID_upperstream_list
 
std::vector< std::string > m_ID_explanation_list
 
std::vector< std::string > m_ID_confirmed_invest_list
 
std::vector< std::string > m_ID_rejected_invest_list
 
std::vector< std::string > m_ID_possible_invest_list
 
std::vector< std::string > m_note_list
 
- Public Attributes inherited from IDElement
int m_ID_Type
 
std::string m_ID
 

Detailed Description

Definition at line 15 of file InvestigatorLink.h.

Constructor & Destructor Documentation

◆ InvestigatorLink()

◆ ~InvestigatorLink()

Member Function Documentation

◆ AddTimeConsumptionInInvestigatorLink()

void InvestigatorLink::AddTimeConsumptionInInvestigatorLink ( double  _delta)

Definition at line 573 of file InvestigatorLink.cpp.

References SimulationContext::Action_Taker, ReasonMachine::AddConsumptedDeltaT(), SimulationContext::Decision_Maker, g_sim, m_operator, Operator::m_RM, sim::Operator::OAT, and sim::Operator::ODM.

Referenced by CheckThePathStatus3102().

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

◆ AttachThoughtLineToThisLink()

void InvestigatorLink::AttachThoughtLineToThisLink ( std::string  )

Definition at line 1176 of file InvestigatorLink.cpp.

References Investigator::AttachThoughtLineToThisInvestigator(), m_condition_ID_pt, IDElement::m_ID, m_thoughtline_roots_list, and m_upperstream_ID_list.

Referenced by Investigator::AttachThoughtLineToThisInvestigator(), and Investigator::ExtendTheThoughtLineToUpperstream().

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

◆ BackwardPropagateConfidenceLevel()

◆ BoostActivationOfThisLinkByActiveDiagnosisInvestigation()

void InvestigatorLink::BoostActivationOfThisLinkByActiveDiagnosisInvestigation ( )

Definition at line 1302 of file InvestigatorLink.cpp.

References Investigator::BoostActivationOfThisByActiveDiagnosisInvestigation(), CrankTheNextLikelyRetrievedInvestigatorActivationToOne(), m_has_moved_to_invest, and m_invest_link_pause.

Referenced by Investigator::BoostActivationOfThisByActiveDiagnosisInvestigation().

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

◆ BoostAttentionOfThisFromDiagnosisInvestigation()

void InvestigatorLink::BoostAttentionOfThisFromDiagnosisInvestigation ( float  _i,
bool  _vagabond_reset 
)

Definition at line 1318 of file InvestigatorLink.cpp.

References Investigator::BoostAttentionofThisByDiagnosisInvestigation(), m_forgotten_bl, m_has_moved_to_invest, m_interest_from_SymptomInvestigator, and m_invest_link_pause.

Referenced by Investigator::BoostAttentionofThisByDiagnosisInvestigation().

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

◆ BuildConnectionsToThisInvestigatorLink()

◆ CalculateBackwardRetrievalScore()

double InvestigatorLink::CalculateBackwardRetrievalScore ( )

Definition at line 533 of file InvestigatorLink.cpp.

References ErrorMessage(), Investigator::GetActivation(), KnowledgeUnit::m_backward_retrieve_weight, m_condition_ID_pt, m_interest_from_SymptomInvestigator, m_K_unit_pt, and m_upperstream_ID_list.

Referenced by Investigator::RetrieveTheNextLikelyInvestigatorLink3013(), and Investigator::WhetherContinueInvestigationAfterFoundExplanation().

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

◆ CalculateFilteredPrioritizingScoreOfInvestigatorLink()

float InvestigatorLink::CalculateFilteredPrioritizingScoreOfInvestigatorLink ( )

Definition at line 585 of file InvestigatorLink.cpp.

References Investigator::CalculatePriorityScoreEvenDormantOrPaused(), m_condition_ID_pt, IDElement::m_ID, Investigator::m_interest_from_SymptomInvestigator, m_interest_from_SymptomInvestigator, m_invest_link_dormant, m_invest_link_pause, m_invest_link_Token, m_upperstream_ID_list, PrintMessage(), and inv_link::TransferOut.

Here is the call graph for this function:

◆ ChangeInvestigatorLinkToken()

void InvestigatorLink::ChangeInvestigatorLinkToken ( int  _token)

Definition at line 658 of file InvestigatorLink.cpp.

References m_invest_link_Token, m_invest_link_Token_history, m_link_token_endtime_history, and r5pars_.

Referenced by CheckThePathStatus3102(), FeedBackToDownstreamInvestigator310331043105(), and RetrieveTheNextLikelyInvestigator3101().

Here is the caller graph for this function:

◆ CheckExistenceInTheConfirmedInvestList()

IDElement * InvestigatorLink::CheckExistenceInTheConfirmedInvestList ( IDElement *  _ID_pt)

Definition at line 814 of file InvestigatorLink.cpp.

References m_confirmed_invest_ID_list.

Referenced by CheckThePathStatus3102().

Here is the caller graph for this function:

◆ CheckExistenceInThePossibleInvestList()

IDElement * InvestigatorLink::CheckExistenceInThePossibleInvestList ( IDElement *  _ID_pt)

Definition at line 829 of file InvestigatorLink.cpp.

References m_possible_invest_ID_list.

Referenced by CheckThePathStatus3102().

Here is the caller graph for this function:

◆ CheckExistenceInTheRejectedInvestList()

IDElement * InvestigatorLink::CheckExistenceInTheRejectedInvestList ( IDElement *  _ID_pt)

Definition at line 844 of file InvestigatorLink.cpp.

References m_rejected_invest_ID_list.

Referenced by CheckThePathStatus3102().

Here is the caller graph for this function:

◆ CheckThePathStatus3102()

◆ CheckWhetherInAThoughtLine()

bool InvestigatorLink::CheckWhetherInAThoughtLine ( std::string  )

Definition at line 1211 of file InvestigatorLink.cpp.

References m_thoughtline_roots_list.

Referenced by ReasonMachine::CheckWhetherTheThoughtLineHasChanged(), ReasonMachine::FindThePositionInTheThoughtLineHistory(), and ReasonMachine::WetherAnInvestigationItemBelongsToTheCurrentThoughtLine().

Here is the caller graph for this function:

◆ CopyInvestigatorLinkInfoFromAnother()

◆ CrankTheNextLikelyRetrievedInvestigatorActivationToOne()

void InvestigatorLink::CrankTheNextLikelyRetrievedInvestigatorActivationToOne ( )

Definition at line 1237 of file InvestigatorLink.cpp.

References SimulationContext::Action_Taker, Investigator::CrankTheActivationToOne(), SimulationContext::Decision_Maker, ErrorMessage(), g_sim, Activation::m_activation, m_condition_ID_pt, Investigator::m_Happen, Investigator::m_interest_from_SymptomInvestigator, Investigator::m_KElement_ID_pt, m_operator, Operator::m_RM, KnowledgeElement::m_SentenceUnit_pt, m_upperstream_ID_list, sim::Operator::OAT, and sim::Operator::ODM.

Referenced by BoostActivationOfThisLinkByActiveDiagnosisInvestigation().

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

◆ ErrorMessage()

◆ FeedBackToDownstreamInvestigator310331043105()

void InvestigatorLink::FeedBackToDownstreamInvestigator310331043105 ( )

Definition at line 478 of file InvestigatorLink.cpp.

References SimulationContext::Action_Taker, ReasonMachine::AddToRMFeedbackStack(), ChangeInvestigatorLinkToken(), ReasonMachine::ChangeRMTokenValue(), Investigator::CrankTheActivationToOne(), SimulationContext::Decision_Maker, g_sim, inv::GetCorrespondingKE, m_confirmed_invest_ID_list, m_downstream_ID_pt, m_has_feedback_to_downstream, IDElement::m_ID, Investigator::m_investigator_token, m_note_list, m_operator, Operator::m_RM, ReasonMachine::m_working_on_invest_pt, sim::Operator::OAT, sim::Operator::ODM, PrintMessage(), r5pars_, inv_link::TransferOut, and rm::WorkOnInvestigator.

Referenced by OneStepWorkOnThisInvestigatorLink().

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

◆ FinishThePausedConfidencePropagationBeforeCloseInvestigatorLink()

void InvestigatorLink::FinishThePausedConfidencePropagationBeforeCloseInvestigatorLink ( )

Definition at line 1438 of file InvestigatorLink.cpp.

References SimulationContext::Action_Taker, Investigator::BackwardPropagateConfidenceLevel(), SimulationContext::Decision_Maker, ErrorMessage(), ReasonMachine::FindInvestigatorByID(), g_sim, ReasonMachine::m_buffer_invest_pt, m_condition_ID_pt, m_confirmed_invest_ID_list, Statement::m_factual_type, Investigator::m_Happen, m_link_type, m_operator, m_pause_confidence_propagation_ID_list, m_paused_confidence_passing_list, m_possible_invest_ID_list, m_rejected_invest_ID_list, Operator::m_RM, Investigator::m_Statement_pt, sim::Operator::OAT, and sim::Operator::ODM.

Referenced by TransferOutOfThisInvestigatorLink3110().

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

◆ GetActivationOfthisLink()

float InvestigatorLink::GetActivationOfthisLink ( )

Definition at line 1530 of file InvestigatorLink.cpp.

References ErrorMessage(), Investigator::GetActivation(), m_condition_ID_pt, and m_upperstream_ID_list.

Referenced by ReasonMachine::ReOpenItemWithActivationLevelAboveAGivenValue().

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

◆ GetASimpleDescriptionOfTheInvestigatorLink()

string InvestigatorLink::GetASimpleDescriptionOfTheInvestigatorLink ( )

Definition at line 665 of file InvestigatorLink.cpp.

References Investigator::GetASimpleDescriptionOfThisInvestigator(), m_condition_ID_pt, m_downstream_ID_pt, m_link_type, and m_upperstream_ID_list.

Referenced by ReasonMachine::ChangeRMTokenValue(), and Investigator::EvaluateAfterGetNewFeedback3014().

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

◆ GetDownstreamInitiationTimeOrStatementTime()

float InvestigatorLink::GetDownstreamInitiationTimeOrStatementTime ( )

Definition at line 1224 of file InvestigatorLink.cpp.

References Investigator::GetInitiationTimeOrStatementTimeOrLastActiveTime(), and m_downstream_ID_pt.

Referenced by ReasonMachine::OneStepPrioritizeInvestigation30().

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

◆ MarkMHappenIncompleteTrue()

void InvestigatorLink::MarkMHappenIncompleteTrue ( )

Definition at line 1429 of file InvestigatorLink.cpp.

References m_downstream_ID_pt, m_Happen_incomplete, and Investigator::UpdateHappenExplainIncomeplete().

Referenced by UpdateMHappenIncomplete().

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

◆ OneStepWorkOnThisInvestigatorLink()

void InvestigatorLink::OneStepWorkOnThisInvestigatorLink ( )

◆ PrintMessage()

void InvestigatorLink::PrintMessage ( std::string  )

Definition at line 710 of file InvestigatorLink.cpp.

References r5pars_.

Referenced by CalculateFilteredPrioritizingScoreOfInvestigatorLink(), CheckThePathStatus3102(), FeedBackToDownstreamInvestigator310331043105(), and RetrieveTheNextLikelyInvestigator3101().

Here is the caller graph for this function:

◆ ResetTheLastActivationTimeOfTheNextToBeRetrievedInvestigator()

void InvestigatorLink::ResetTheLastActivationTimeOfTheNextToBeRetrievedInvestigator ( )

◆ RetrieveTheNextLikelyInvestigator3101()

◆ SetAdummyActivation()

void InvestigatorLink::SetAdummyActivation ( )

Definition at line 1231 of file InvestigatorLink.cpp.

References m_dummy_activation.

◆ TransferOutOfThisInvestigatorLink3110()

void InvestigatorLink::TransferOutOfThisInvestigatorLink3110 ( )

Definition at line 627 of file InvestigatorLink.cpp.

References SimulationContext::Action_Taker, ReasonMachine::ChangeRMTokenValue(), SimulationContext::Decision_Maker, ReasonMachine::EraseFromOngoingItemStack(), ReasonMachine::EraseItemFromFeedbackStack(), FinishThePausedConfidencePropagationBeforeCloseInvestigatorLink(), g_sim, HamletB, IDElement::m_ID, m_note_list, m_operator, ReasonMachine::m_problem_solving_style, Operator::m_RM, sim::Operator::OAT, sim::Operator::ODM, rm::Prioritize, and r5pars_.

Referenced by OneStepWorkOnThisInvestigatorLink().

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

◆ UpdateMHappenIncomplete()

void InvestigatorLink::UpdateMHappenIncomplete ( )

Definition at line 1399 of file InvestigatorLink.cpp.

References m_condition_ID_pt, Investigator::m_Happen_incomplete, m_Happen_incomplete, m_upperstream_ID_list, and MarkMHappenIncompleteTrue().

Referenced by Investigator::MarkMHappenIncompleteTrue().

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

Member Data Documentation

◆ m_condition_ID_pt

◆ m_confirmed_invest_ID_list

◆ m_downstream_ID_pt

◆ m_dummy_activation

std::unique_ptr<Activation> InvestigatorLink::m_dummy_activation

Definition at line 57 of file InvestigatorLink.h.

Referenced by CopyInvestigatorLinkInfoFromAnother(), and SetAdummyActivation().

◆ m_explanation_ID_list

std::vector<IDElement *> InvestigatorLink::m_explanation_ID_list

◆ m_forgotten_bl

◆ m_Happen_incomplete

◆ m_has_feedback_to_downstream

bool InvestigatorLink::m_has_feedback_to_downstream

◆ m_has_moved_to_invest

◆ m_ID_condition

std::string InvestigatorLink::m_ID_condition

◆ m_ID_confirmed_invest_list

std::vector<std::string> InvestigatorLink::m_ID_confirmed_invest_list

◆ m_ID_downstream

std::string InvestigatorLink::m_ID_downstream

◆ m_ID_explanation_list

std::vector<std::string> InvestigatorLink::m_ID_explanation_list

◆ m_ID_has_moved_to_invest

std::string InvestigatorLink::m_ID_has_moved_to_invest

◆ m_ID_KU

◆ m_ID_possible_invest_list

std::vector<std::string> InvestigatorLink::m_ID_possible_invest_list

◆ m_ID_rejected_invest_list

std::vector<std::string> InvestigatorLink::m_ID_rejected_invest_list

◆ m_ID_SI

◆ m_ID_upperstream_list

std::vector<std::string> InvestigatorLink::m_ID_upperstream_list

◆ m_inference_direction_reverse_bl

bool InvestigatorLink::m_inference_direction_reverse_bl

◆ m_interest_from_SymptomInvestigator

◆ m_invest_link_dormant

◆ m_invest_link_pause

◆ m_invest_link_Token

◆ m_invest_link_Token_history

std::vector<int> InvestigatorLink::m_invest_link_Token_history

◆ m_is_a_strong_inference

◆ m_is_causal_path_bl

◆ m_is_inference_path_bl

◆ m_K_unit_pt

◆ m_link_last_activated_time

◆ m_link_token_endtime_history

std::vector<float> InvestigatorLink::m_link_token_endtime_history

◆ m_link_type

◆ m_note_list

◆ m_operator

◆ m_path_status

◆ m_pause_confidence_propagation_ID_list

std::vector<std::string> InvestigatorLink::m_pause_confidence_propagation_ID_list

◆ m_paused_confidence_passing_list

std::vector<float> InvestigatorLink::m_paused_confidence_passing_list

◆ m_possible_invest_ID_list

◆ m_rejected_invest_ID_list

◆ m_SI_ID_pt

◆ m_thoughtline_roots_list

◆ m_upperstream_ID_list


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