Hypergraphs
DualHypergraph
Return the dual of an hypergraph
Calling Sequence
Parameters
Description
Examples
References
Compatibility
DualHypergraph(H)
H
-
Hypergraph
The command DualHypergraph(H) returns the dual hypergraph of H. ##
Terminology
Dual hypergraph : If H :=(X, Y) is a hypergraph, then the dual hypergraph of H is the hypergraph whose vertex set is Y and where {y1, y2, ...} is a hyperedge if y1, y2, ... intersect at a single vertex of H and {y1, y2, ...} is inclusion-maximal with that property.
In broad terms, if H :=(X, Y) is a hypergraph without isolated vertices (that is, without vertices of degree zero) then the dual hypergraph of H is essentially (Y, X) and, thus, H and the dual of its dual isomorphic.
with⁡Hypergraphs:with⁡ExampleHypergraphs:
Consider the Lovasz hypergraph of rank 3.
L3≔Lovasz⁡3;Vertices⁡L3;Hyperedges⁡L3
L3≔< 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 L3.
Draw⁡L3
Compute the dual hypergraph DL3 of of L3.
DL3≔DualHypergraph⁡L3;Vertices⁡DL3;Hyperedges⁡DL3
DL3≔< a hypergraph on 10 vertices with 6 hyperedges >
1,2,3,4,5,6,7,8,9,10
1,2,3,10,4,5,6,10,7,8,9,10,1,2,4,5,7,8,1,3,4,6,7,9,2,3,5,6,8,9
Draw a graphical representation of DF4.
Draw⁡DL3
Check whether L3 and DL3 are isomorphic or not.
AreIsomorphic⁡L3,DL3
false
Check that L3 and the dual of DL3 are isomorphic.
AreIsomorphic⁡L3,DualHypergraph⁡DL3
true
Consider the Fan hypergraph of rank 4.
F4≔Fan⁡4;Vertices⁡F4;Hyperedges⁡F4
F4≔< a hypergraph on 5 vertices with 5 hyperedges >
1,2,3,4,5
1,5,2,5,3,5,4,5,1,2,3,4
Draw a graphical representation of F4.
Draw⁡F4
Compute the dual hypergraph DF4 of of F4.
DF4≔DualHypergraph⁡F4;Vertices⁡DF4;Hyperedges⁡DF4
DF4≔< a hypergraph on 5 vertices with 5 hyperedges >
Draw⁡DF4
Check that F4 and DF4 are isomorphic.
AreIsomorphic⁡F4,DF4
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[DualHypergraph] command was introduced in Maple 2024.
For more information on Maple 2024 changes, see Updates in Maple 2024.
See Also
Hypergraphs[Hyperedges]
Hypergraphs[Hypergraph]
Hypergraphs[Vertices]
Hypergraphs[AreIsomorphic]
Download Help Document