Isometric embeddings in Hamming graphs

Abstract An O ( n 3 )-algorithm is established which embeds a given graph isometrically into a Hamming graph (i.e., a cartesian product of complete graphs) whenever possible, and recognizes non-embeddable graphs. From the algorithm several characterizations of the embeddable graphs are derived.