Hypergraphs
VertexEdgeIncidenceGraph
Return the vertex-edge incidence graph of an hypergraph
Calling Sequence
Parameters
Description
Examples
References
Compatibility
VertexEdgeIncidenceGraph(H)
H
-
Hypergraph
The command VertexEdgeIncidenceGraph(H) returns the vertex edge incidence graph of H as a graph object of the GraphTheory module.
Terminology
Vertex edge incidence graph : If H :=(X, Y) is a hypergraph, then the vertex edge incidence graph of H is the bipartite graph G from X to Y so that for any x of X and any y of Y, the set {x,y} is an edge of G if and only if x belongs to y.
with⁡Hypergraphs:with⁡GraphTheory:with⁡ExampleHypergraphs:
Create a hypergraph from its vertices and edges
H≔Hypergraph⁡1,2,3,4,5,6,7,1,2,3,2,3,4,3,5,6
H≔< a hypergraph on 7 vertices with 4 hyperedges >
Print its vertices and edges
Hypergraphs:-Vertices⁡H;Hyperedges⁡H
1,2,3,4,5,6,7
4,2,3,1,2,3,3,5,6
Draw a graphical representation of this hypergraph.
Draw⁡H
Check whether H is connected.
Hypergraphs:-IsConnected⁡H
false
Check whether H is linear.
IsLinear⁡H
Construct the line graph L of H.
L≔Hypergraphs:-LineGraph⁡H
L≔Graph 1: an undirected graph with 4 vertices, 3 edge(s), and 4 self-loop(s)
Draw a graphical representation of L.
DrawGraph⁡L
Construct the vertex-edge-incidence graph M of H.
M≔VertexEdgeIncidenceGraph⁡H
M≔Graph 2: an undirected graph with 11 vertices and 9 edge(s)
Draw a graphical representation of L
DrawGraph⁡M
Create another hypergraph
H≔Lovasz⁡3
H≔< a hypergraph on 6 vertices with 10 hyperedges >
1,2,3,4,5,6
1,2,4,1,3,4,2,3,4,1,2,5,1,3,5,2,3,5,1,2,6,1,3,6,2,3,6,4,5,6
Draw a graphical representation of this hypergraph
Check whether H is connected
true
Check whether H is linear
Construct the line graph L of H
L≔Graph 3: an undirected graph with 10 vertices, 45 edge(s), and 10 self-loop(s)
Construct the vertex-edge-incidence graph M of H
M≔Graph 4: an undirected graph with 16 vertices and 30 edge(s)
Claude Berge. Hypergraphes. Combinatoires des ensembles finis. 1987, Paris, Gauthier-Villars, translated to English.
Claude Berge. Hypergraphs. Combinatorics of Finite Sets. 1989, Amsterdam, North-Holland Mathematical Library, Elsevier, translated from French.
Charles Leiserson, Liyun Li, Marc Moreno Maza and Yuzhen Xie " Parallel computation of the minimal elements of a poset." Proceedings of the 4th International Workshop on Parallel Symbolic Computation (PASCO) 2010: 53-62, ACM.
The Hypergraphs[VertexEdgeIncidenceGraph] command was introduced in Maple 2024.
For more information on Maple 2024 changes, see Updates in Maple 2024.
See Also
Hypergraphs[IsLinear]
Hypergraphs[IsConnected]
Hypergraphs[LineGraph]
Hypergraphs[VertexEdgeIncidenceGraph]
Download Help Document