29 vector<string>::iterator str_itr;
31 {this->
ErrorMessage(
"this->m_thought_line_list.size() != 0");
return;}
41 cout <<
r5pars_.timesno <<
" " << str <<
" in ReasonMachine.cpp" <<
'\n';
42 ofstream fout(
"err messages.txt", ios::app);
43 fout <<
r5pars_.timesno <<
" " << str <<
'\n';
53 bool equal_bl =
false;
54 vector<string>::iterator str_itr1;
55 vector<string>::iterator str_itr2;
58 {equal_bl =
false;
return false;}
65 if((*str_itr1).compare(*str_itr2) != 0)
80 vector<string>::iterator str_itr1;
81 vector<string>::iterator str_itr2;
82 bool contain_bl =
false;
84 for(str_itr1 = this->
m_thought_line_list.begin(); str_itr1 != this->m_thought_line_list.end(); str_itr1++)
86 if(_ID_pt->
m_ID.compare(*str_itr1) == 0)
88 contain_bl =
true;
return true;
99 if((*str_itr2).compare(*str_itr1) == 0)
101 contain_bl =
true;
return true;
114 if((*str_itr2).compare(*str_itr1) == 0)
116 contain_bl =
true;
return true;
Diagnostic reasoning engine — knowledge representation, mental model, and inference.
std::vector< std::string > m_thoughtline_roots_list
std::vector< std::string > m_thoughtline_roots_list
std::vector< std::string > m_thought_line_list
bool CheckWhetherContainsAnItemInTheThoughtLine(IDElement *)
virtual ~StringTimeIntervalUnit()
bool CompareThisUnitWithAnotherStringTimeIntervalUnitOnThoughtLineList(StringTimeIntervalUnit *)
void ErrorMessage(std::string)
void CopyFromAnotherStringTimeIntervalUnit(StringTimeIntervalUnit *)