group_adj_perturb function

Group adjacency matrices