// print a single statistic void print_one_stat(char *title, ANNsampStat s, double div) { cout << title << "= [ "; cout.width(9); cout << s.mean()/div << " : "; cout.width(9); cout << s.stdDev()/div << " ]<"; cout.width(9); cout << s.min()/div << " , "; cout.width(9); cout << s.max()/div << " >\n"; }
// print a single statistic //void print_one_stat(char *title, ANNsampStat s, double div) void print_one_stat( const std::string & title, ANNsampStat s, double div) { std::cout << title.c_str() << "= [ "; std::cout.width(9); std::cout << s.mean()/div << " : "; std::cout.width(9); std::cout << s.stdDev()/div << " ]<"; std::cout.width(9); std::cout << s.min()/div << " , "; std::cout.width(9); std::cout << s.max()/div << " >\n"; }
// print a single statistic void print_one_stat(char *title, ANNsampStat s, double div) { __android_log_print(ANDROID_LOG_VERBOSE, "HUMANSENSE", "%s= [ ", title); __android_log_print(ANDROID_LOG_VERBOSE, "HUMANSENSE", "%9.4G : ", s.mean()/div); __android_log_print(ANDROID_LOG_VERBOSE, "HUMANSENSE", "%9.4G ]< ", s.stdDev()/div); __android_log_print(ANDROID_LOG_VERBOSE, "HUMANSENSE", "%9.4G , ", s.min()/div); __android_log_print(ANDROID_LOG_VERBOSE, "HUMANSENSE", "%9.4G >\n", s.max()/div); /* cout << title << "= [ "; cout.width(9); cout << s.mean()/div << " : "; cout.width(9); cout << s.stdDev()/div << " ]<"; cout.width(9); cout << s.min()/div << " , "; cout.width(9); cout << s.max()/div << " >\n"; */ }