Consider inverting piece colors on a given board B to form a new board I(B). The distance betweenB and I(B) could be large, but it makes sense for that distance to be zero; the game does not change from a strategic standpoint. The same is true if one flips the board B to form a new board F(B). So we should use the corrected metric min(d(X, Y), d(I(X), Y), d(F(X), Y), d(I(F(X)), Y)) given some uncorrected metric d(X, Y) between two boards X and Y.
Consider inverting piece colors on a given board
Bto form a new boardI(B). The distance betweenBandI(B)could be large, but it makes sense for that distance to be zero; the game does not change from a strategic standpoint. The same is true if one flips the boardBto form a new boardF(B). So we should use the corrected metricmin(d(X, Y), d(I(X), Y), d(F(X), Y), d(I(F(X)), Y))given some uncorrected metricd(X, Y)between two boardsXandY.