| 203 | |
| 204 | |
| 205 | std::string PosToText( |
| 206 | const Pos& tpos, |
| 207 | const int target, |
| 208 | const int depth) |
| 209 | { |
| 210 | std::stringstream ss; |
| 211 | ss << std::setw(16) << std::left << "Target" << target << "\n"; |
| 212 | ss << std::setw(16) << "Depth" << depth << "\n"; |
| 213 | ss << std::setw(16) << "tricks_max" << tpos.tricks_max << "\n"; |
| 214 | ss << std::setw(16) << "First hand" << card_hand[tpos.first[depth]] << "\n"; |
| 215 | ss << std::setw(16) << "Next first" << card_hand[tpos.first[depth - 1]] << "\n"; |
| 216 | return ss.str(); |
| 217 | } |
| 218 | |
| 219 | |
| 220 | std::string DumpTopHeader( |
nothing calls this directly
no outgoing calls
no test coverage detected