| 318 | |
| 319 | |
| 320 | void DumpTopLevel( |
| 321 | std::ofstream& fout, |
| 322 | const std::shared_ptr<ThreadData>& thrp, |
| 323 | const int tricks, |
| 324 | const int lower, |
| 325 | const int upper, |
| 326 | const int printMode) |
| 327 | { |
| 328 | const Pos& tpos = thrp->lookAheadPos; |
| 329 | SolverContext ctx{ thrp }; |
| 330 | |
| 331 | fout << DumpTopHeader(thrp, tricks, lower, upper, printMode) << "\n"; |
| 332 | fout << PrintDeal(tpos.rank_in_suit, 16); |
| 333 | fout << WinnersToText(tpos.win_ranks[ctx.search().ini_depth()]) << "\n"; |
| 334 | fout << ctx.search().nodes() << " AB nodes, " << |
| 335 | ctx.search().trick_nodes() << " trick nodes\n\n"; |
| 336 | } |
| 337 |
no test coverage detected