ENH: GenerateAdjacencies