MCPcopy Create free account
hub / github.com/dds-bridge/dds / PosToText

Function PosToText

library/src/dump.cpp:205–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203
204
205std::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
220std::string DumpTopHeader(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected