On some connections between multidistancesand valued m-ary adjacency relations