Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Determine whether two ordered (directed) hypergraphs are isomorphic
Determine that two ordered hypergraphs are isomorphic:
In[1]:= | ![]() |
Out[1]= | ![]() |
Determine that two ordered hypergraphs are not isomorphic:
In[2]:= | ![]() |
Out[2]= | ![]() |
Lists of hyperedges which are isomorphic as orderless hypergraphs may not be isomorphic as ordered hypergraphs:
In[3]:= | ![]() |
Out[3]= | ![]() |
IsomorphicOrderedHypergraphQ also works for standard directed graphs:
In[4]:= | ![]() |
Out[4]= | ![]() |
In this case, it is functionally equivalent to IsomorphicGraphQ:
In[5]:= | ![]() |
Out[5]= | ![]() |
Furthermore, IsomorphicOrderedHypergraphQ supports isomorphism testing on ordered multihypergraphs (i.e. hypergraphs with ordered multihyperedges):
In[6]:= | ![]() |
Out[6]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License