摘要
This paper contains a new algorithm that recognizes whether a given graphGis a Hamming graph, i.e. a Cartesian product of complete graphs, inO(m)time andO(n2)space. Heremandndenote the numbers of edges and vertices ofG,respectively. Previously this was only possible inO(mlogn)time.