Hypergraphs
ComplementHypergraph
Return the complement of an hypergraph
Calling Sequence
Parameters
Description
Examples
References
Compatibility
ComplementHypergraph(H)
H
-
Hypergraph
The command ComplementHypergraph(H) returns the complement hypergraph of H.
Terminology
Complement hypergraph : If H :=(X, Y) is a hypergraph, then the complement hypergraph of H is the hypergraph (X, Z) where Z is the set of the complements in X of the hyperedges of H.
with⁡Hypergraphs:with⁡ExampleHypergraphs:
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 complement hypergraph C of of F4.
C≔ComplementHypergraph⁡F4;Vertices⁡C;Hyperedges⁡C
C≔< a hypergraph on 5 vertices with 5 hyperedges >
5,1,2,3,1,2,4,1,3,4,2,3,4
Draw a graphical representation of C.
Draw⁡C
Consider these two Kuratowski hypergraphs.
K2≔Kuratowski⁡1,2,3,4,5,2;K3≔Kuratowski⁡1,2,3,4,5,3
K2≔< a hypergraph on 5 vertices with 10 hyperedges >
K3≔< a hypergraph on 5 vertices with 10 hyperedges >
Draw a graphical representation of K2.
Draw⁡K2
Draw a graphical representation of K3.
Draw⁡K3
Observe that K3 is the complement hypergraph of K2.
C≔ComplementHypergraph⁡K2;AreEqual⁡C,K3
C≔< a hypergraph on 5 vertices with 10 hyperedges >
true
Observe that K2 is the complement hypergraph of K3.
C≔ComplementHypergraph⁡K3;AreEqual⁡C,K2
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[ComplementHypergraph] 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