d_G\left({x_i, x_j}\right) = min \{ {l|a_ij^{\left({l}\right)}\ne 0}\}