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

Function undo_2

library/src/ab_search.cpp:1077–1090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1075
1076
1077void undo_2(
1078 Pos * posPoint,
1079 const int depth,
1080 const MoveType& mply)
1081{
1082 int h = HAND_ID(posPoint->first[depth], 1);
1083 int s = mply.suit;
1084 int r = mply.rank;
1085
1086 posPoint->rank_in_suit[h][s] |= bit_map_rank[r];
1087 posPoint->aggr[s] |= bit_map_rank[r];
1088 posPoint->hand_dist[h] += handDelta[s];
1089 posPoint->length[h][s]++;
1090}
1091
1092
1093void undo_3(

Callers 1

ab_search_1_ctxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected