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

Function undo_3

library/src/ab_search.cpp:1093–1106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1091
1092
1093void undo_3(
1094 Pos * posPoint,
1095 const int depth,
1096 const MoveType& mply)
1097{
1098 int h = HAND_ID(posPoint->first[depth], 2);
1099 int s = mply.suit;
1100 int r = mply.rank;
1101
1102 posPoint->rank_in_suit[h][s] |= bit_map_rank[r];
1103 posPoint->aggr[s] |= bit_map_rank[r];
1104 posPoint->hand_dist[h] += handDelta[s];
1105 posPoint->length[h][s]++;
1106}
1107
1108
1109EvalType evaluate_with_context(

Callers 1

ab_search_2_ctxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected