Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find all isomorphisms between two orderless (undirected) hypergraphs
ResourceFunction["FindHypergraphIsomorphism"][h1,h2] finds all possible isomorphisms that map the hypergraph h1 to h2 by renaming vertices. |
Find all isomorphisms between two hypergraphs:
| In[1]:= |
| Out[1]= |
Determine that two hypergraphs are not isomorphic:
| In[2]:= |
| Out[2]= |
Lists of hyperedges that are isomorphic as orderless hypergraphs may not be isomorphic as ordered hypergraphs:
| In[3]:= |
| Out[3]= |
FindHypergraphIsomorphism also works for standard undirected graphs:
| In[4]:= |
| Out[4]= |
In this case, it is functionally equivalent to FindGraphIsomorphism[…,All]:
| In[5]:= |
| Out[5]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License