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

Function undo_1

library/src/ab_search.cpp:1061–1074  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1059
1060
1061void undo_1(
1062 Pos * posPoint,
1063 const int depth,
1064 const MoveType& mply)
1065{
1066 int h = posPoint->first[depth];
1067 int s = mply.suit;
1068 int r = mply.rank;
1069
1070 posPoint->rank_in_suit[h][s] |= bit_map_rank[r];
1071 posPoint->aggr[s] |= bit_map_rank[r];
1072 posPoint->hand_dist[h] += handDelta[s];
1073 posPoint->length[h][s]++;
1074}
1075
1076
1077void undo_2(

Callers 2

ab_searchFunction · 0.85
ab_search_0_ctxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected