Under this framework, finding the most suitable coherent labels becomes the problem of searching the most probable assignment to all the E and R variables.
the global prediction e 1 , e 2 , ..., e n , r 12 , r 21 , ..., r n(n−1) satisfies the following equation.