WolframInstitute`Hypergraph`
EnumerateHypergraphs |
|
| | ||||
|
| | ||||
|
| | ||||
|
| |
Examples
(5)
Basic Examples
(5)
Generate all possible ways to have a single unary and two binary edges together:
In[1]:=
EnumerateHypergraphs |
Out[1]=
,
Generate all hypergraphs with a single edge of each arity up-to 3:
In[1]:=
EnumerateHypergraphs |
Out[1]=
,
,
,
,
Enumerate hypergraphs with 3 binary edges:
In[1]:=
EnumerateHypergraphs |
Out[1]=
,
,
Enumerate only up-to 3 vertices:
In[2]:=
EnumerateHypergraphs |
Out[2]=
Enumerate hypergraphs with 2 binary edges:
In[1]:=
EnumerateHypergraphs |
Out[1]=
Include non-connected hypergraphs:
In[2]:=
EnumerateHypergraphs |
Out[2]=
,
Include connected and non-simple hypergraphs:
In[3]:=
EnumerateHypergraphs |
Out[3]=
,
,
,
Include both non-connected and non-simple:
In[4]:=
EnumerateHypergraphs |
Out[4]=
,
,
,
,
,
,
Specify symmetry of edges:
In[1]:=
EnumerateHypergraphs |
Out[1]=
,
,
,
In[2]:=
EnumerateHypergraphs |
Out[2]=
,
,
,
,
,
,
,
,
,
,
,