Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find a canonical isomorphism between hypergraphs
ResourceFunction["FindCanonicalHypergraphIsomorphism"][hg1, hg2] find a canonical isomorphism between hypergraphs hg1 and hg2 if it exists. | |
ResourceFunction["FindCanonicalHypergraphIsomorphism"][hg] find an isomorphism from hypergraph hg to its canonical representation. |
Find a canonical isomorphism between two hypergraphs:
| In[1]:= |
| Out[1]= |
Find an isomorphism to hypergraph's canonical representation:
| In[2]:= |
| Out[2]= |
Transform from one hypergraph to another if isomorphism exists:
| In[3]:= |
| In[4]:= |
| Out[4]= |
| In[5]:= |
| Out[5]= |
Include a permutation of hyperedges in the output:
| In[7]:= |
| In[8]:= |
| Out[8]= |
| In[9]:= |
| Out[9]= |
The result of the resource function CanonicalHypergraph can be reproduced by combining an isomorphism with a permutation:
| In[10]:= |
| Out[10]= |
| In[11]:= |
| Out[11]= |
| In[12]:= |
| Out[12]= |
This work is licensed under a Creative Commons Attribution 4.0 International License