Closed daneelsan closed 4 years ago
Implement the IsomorphicHypergraphQ function, which tests isomorphism between two hypergraphs. See:
IsomorphicHypergraphQ
The resource function works for undirected hypergraphs.
In[]:= IsomorphicHypergraphQ[{{a, e, d}, {d, c}, {c, b}, {b, a}}, {{2, 4}, {4, 5, 1}, {1, 3}, {3, 2}}] Out[]= True
In[]:= IsomorphicHypergraphQ[{{a, e, d}, {d, c}, {c, b}, {b, a}}, {{2, 4}, {4, 3, 1}, {1, 3}, {5, 2}}] Out[]= False
There is also IsomorphicOrderedHypergraphQ, but I don't know if it works.
IsomorphicOrderedHypergraphQ
The problem
Implement the
IsomorphicHypergraphQ
function, which tests isomorphism between two hypergraphs. See:Comment
The resource function works for undirected hypergraphs.
Possible Solution