How do I generate an adjacency matrix for the 168 vertices on three faces of an 8 X 8 X 8 cube. $p_{x,y,z}$ where the values of x,y, and z are between 0 and 7, and at least one of the values x,y, or z must be zero for each point.
First of all, how do I generate the adjacency map for the surface of an 8 X 8 X 8 cube? And then how do I discard the adjacencies for the faces I don't need?
I have tried building this by hand by listing the individual adjacency and using Graph to show me what I've made, and then using AdjacencyMatrix[}, but small typos kill it.