3 #ifndef SEARCH_DOMINANCECHECK_H 
    4 #define SEARCH_DOMINANCECHECK_H 
   21                            const HashKey& next_state)
 
   23         const Player player = 
alt(next_state.turn());
 
   24         const PieceStand new_stand = next_state.blackStand();
 
   25         for (
size_t i=3; i<history.size(); i+=4)
 
   28           const HashKey& old_state = history.top(i);
 
   29           assert(old_state.turn() == next_state.turn());
 
   30           if (! old_state.isSameBoard(next_state))
 
   33           const PieceStand old_stand = old_state.blackStand();
 
   34           if (old_stand == new_stand)
 
   38           if (new_stand.hasMoreThan(player, old_stand))