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

Method print_node_values

library/src/trans_table/trans_table_l.cpp:1051–1068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049
1050
1051auto TransTableL::print_node_values(
1052 ofstream& fout,
1053 const NodeCards& np) const -> void
1054{
1055 fout << setw(16) << left << "Lowest used" <<
1056 card_suit[0] << card_rank[15-static_cast<int>(np.least_win[0])] << ", " <<
1057 card_suit[1] << card_rank[15-static_cast<int>(np.least_win[1])] << ", " <<
1058 card_suit[2] << card_rank[15-static_cast<int>(np.least_win[2])] << ", " <<
1059 card_suit[3] << card_rank[15-static_cast<int>(np.least_win[3])] << "\n";
1060
1061 fout << setw(16) << left << "Bounds" <<
1062 to_string(static_cast<int>(np.lower_bound)) << " to " <<
1063 to_string(static_cast<int>(np.upper_bound)) << " tricks\n";
1064
1065 fout << setw(16) << left << "Best move" <<
1066 card_suit[ static_cast<int>(np.best_move_suit) ] <<
1067 card_rank[ static_cast<int>(np.best_move_rank) ] << "\n\n";
1068}
1069
1070
1071auto TransTableL::make_holding(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected