A metric on max-min algebra