Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Hypergraph

Guides

  • Hypergraph Functionality

Symbols

  • AdjacencyHypergraph
  • AdjacencyTensor
  • EnumerateHypergraphs
  • HighlightRule
  • HypergraphDraw
  • HypergraphIncidenceMatrix
  • Hypergraph
  • HypergraphRule
  • HyperMatrixGraph
  • HyperMatrix
  • IncidenceHypergraph
  • SimpleHypergraphPlot
WolframInstitute`Hypergraph`
EnumerateHypergraphs
​
EnumerateHypergraphs
[{{
m
1
,
a
1
},{
m
2
,
a
2
},...}]
generates all simple connected hypergraphs of a given signature, with
m
1
edges of arity
a
1
,
m
2
edges of arity
a
2
etc.
​
​
EnumerateHypergraphs
[signature,n]
generate hypergraphs having up-to
n
vertices.
​
​
EnumerateHypergraphs
[signature,{n}]
generate hypergraph with exactly n vertices.
​
​
EnumerateHypergraphs
[signature,vertexSpec,{connected,simple}]
specify whether hypergraphs should be
connected
or/and
simple
.
​
Examples  
(5)
Basic Examples  
(5)
Generate all possible ways to have a single unary and two binary edges together:
In[1]:=
EnumerateHypergraphs
[{{1,1},{2,2}}]
Out[1]=

Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later

​
Generate all hypergraphs with a single edge of each arity up-to 3:
In[1]:=
EnumerateHypergraphs
[{{1,1},{1,2},{1,3}}]
Out[1]=

Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later

​
Enumerate hypergraphs with 3 binary edges:
In[1]:=
EnumerateHypergraphs
[{{3,2}}]
Out[1]=

Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later

Enumerate only up-to 3 vertices:
In[2]:=
EnumerateHypergraphs
[{{3,2}},3]
Out[2]=

Contents cannot be rendered at this time; please try again later

​
Enumerate hypergraphs with 2 binary edges:
In[1]:=
EnumerateHypergraphs
[{{2,2}}]
Out[1]=

Contents cannot be rendered at this time; please try again later

Include non-connected hypergraphs:
In[2]:=
EnumerateHypergraphs
[{{2,2}},{False,True}]
Out[2]=

Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later

Include connected and non-simple hypergraphs:
In[3]:=
EnumerateHypergraphs
[{{2,2}},{True,False}]
Out[3]=

Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later

Include both non-connected and non-simple:
In[4]:=
EnumerateHypergraphs
[{{2,2}},{False,False}]
Out[4]=

Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later
,
Contents cannot be rendered at this time; please try again later

​
Specify symmetry of edges:

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com