27 vector<KnowledgeUnit *>::iterator KU_itr;
33 for(KU_itr = this->
m_KU_list.begin(); KU_itr != this->m_KU_list.end(); KU_itr++)
46 vector<string>::iterator str_itr;
68 {this->
ErrorMessage(
"this->m_symptom_KE_pt == NULL");
return;}
70 vector<string>::iterator str_itr;
72 for(str_itr = this->
m_ID_KU_list.begin(); str_itr != this->m_ID_KU_list.end(); str_itr++)
76 {this->
ErrorMessage(
"could not find this knowledge unit " + *str_itr);
return;}
83 cout <<
r5pars_.timesno <<
" " << str <<
" in EventSymptomUnit" <<
'\n';
84 ofstream fout(
"err messages.txt", ios::app);
85 fout <<
r5pars_.timesno <<
" " << str <<
'\n';
Diagnostic reasoning engine — knowledge representation, mental model, and inference.
virtual ~EventSymptomUnit()
std::vector< KnowledgeUnit * > m_KU_list
void ConvertESUinfoToStringForm()
void ErrorMessage(std::string)
bool m_symptom_transient_bl
void CopyEventSymptomUnitFromAnotherWithoutPointer(EventSymptomUnit *)
void BuildConnectionsForThisEventSymptomUnit(void *)
KnowledgeElement * m_symptom_KE_pt
std::vector< std::string > m_ID_KU_list
void CopyIDElementToRestartInfo(IDElement *)
KnowledgeUnit * FindKnowledgeUnitByID(std::string)
KnowledgeElement * FindKnowledgeElementByID(std::string)