- fenFile.close();
- } else
- for (int i = 0; i < 16; i++)
- positions.push_back(std::string(BenchmarkPositions[i]));
-
- int startTime = get_system_time();
- std::vector<std::string>::iterator it;
- int cnt = 1;
- int64_t totalNodes = 0;
- for (it = positions.begin(); it != positions.end(); ++it, ++cnt)
- {
- Move moves[1] = {MOVE_NONE};
- int dummy[2] = {0, 0};
- Position pos(*it);
- std::cout << "\nProcessing position " << cnt << '/' << positions.size() << std::endl << std::endl;
- if (!think(pos, true, false, 0, dummy, dummy, 0, maxDepth, maxNodes, secsPerPos, moves))
- break;
- totalNodes += nodes_searched();