Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find a canonical version of a directed hypergraph
ResourceFunction["FindCanonicalHypergraph"][graph] finds a canonical version of a hypergraph. |
Find a canonical version of a very simple hypergraph:
In[1]:= | ![]() |
Out[1]= | ![]() |
A more complex case:
In[2]:= | ![]() |
Out[2]= | ![]() |
Hyperedges are sorted by reverse length:
In[3]:= | ![]() |
Out[3]= | ![]() |
Hypergraphs with many edges and extreme symmetry will take a while:
In[4]:= | ![]() |
Out[4]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License