| 27 | using namespace std; |
| 28 | |
| 29 | void FillTable(basic_istream<char> & tableCsvStream, MwmToDataPoints & matchedDataPoints, vector<TableRow> & table) |
| 30 | { |
| 31 | for (auto const & row : |
| 32 | coding::CSVRunner(coding::CSVReader(tableCsvStream, true /* hasHeader */, ',' /* delimiter */))) |
| 33 | { |
| 34 | CHECK_EQUAL(row.size(), kTableColumns, (row)); |
| 35 | auto const & mwmName = row[kMwmNameCsvColumn]; |
| 36 | matchedDataPoints[mwmName] += 1; |
| 37 | table.push_back(row); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | void RemoveKeysSmallValue(MwmToDataPoints & checkedMap, MwmToDataPoints & additionalMap, uint64_t ignoreDataPointNumber) |
| 42 | { |