This binary matrix encodes whether each pair of materials are "neighbors" (within a distance τ of each other) or "non-neighbors." For example, if materials i and j are within distance τ of each other, then R ij = 1, indicating they are neighbors. The mutual information I(X; Y ) between corresponding neighbors and non-neighbors in R is computed as: