Compute adjacency from triangles and time instants.
N x 3 array defining triangles.
Number of time points.
Reassign vertex indices based on unique values. Useful to process a subset of triangles. Defaults to False.
The adjacency matrix describing the spatio-temporal graph structure. If N is the number of vertices in the source space, the N first nodes in the graph are the vertices are time 1, the nodes from 2 to 2N are the vertices during time 2, etc.