ISMAGS.analyze_subgraph_symmetry#
- ISMAGS.analyze_subgraph_symmetry()[source]#
Find a minimal set of permutations and corresponding co-sets that describe the symmetry of
self.subgraph
, given the node and edge equalities given bynode_partition
andedge_colors
, respectively.- Returns:
- dict[collections.abc.Hashable, set[collections.abc.Hashable]]
The found co-sets. The co-sets is a dictionary of
{node key: set of node keys}
. Every key-value pair describes whichvalues
can be interchanged without changing nodes less thankey
.