Hypergraphs[ExampleHypergraphs]
Fan
Return the Fan hypergraph of a given rank
Calling Sequence
Parameters
Description
Examples
References
Compatibility
Fan(r)
r
-
posint
The command Fan(r) returns the Fan hypergraph of rank r.
That is, the hypergraph F whose vertex set V consists of the positive integers less or equal to r+1 and whose hyperedges are the set {1,...,r} together with the pairs {i, r+1} for every positive integer i less or equal to r.
Remarks
The hypergraph Fan(r) is auto-transversal, that is, Fan(r) and its transversal hypergraph are equal.
Terminology
Transversal : If H :=(X, Y) is a hypergraph, then a subset S of X is transversal to H whenever S has a non-empty intersection with every hyperedge of H. If H :=(X, Y) is a hypergraph, then the transversal hypergraph of H is the hypergraph (X, Z) where Z consists of all transversals to H that are minimal w.r.t. inclusion.
with⁡Hypergraphs:with⁡ExampleHypergraphs:
Create the Fan hypergraph of rank 4
H≔Fan⁡4
H≔< a hypergraph on 5 vertices with 5 hyperedges >
Print its vertices and edges.
Vertices⁡H;Hyperedges⁡H
1,2,3,4,5
1,5,2,5,3,5,4,5,1,2,3,4
Draw a graphical representation of this hypergraph.
Draw⁡H
Compute the transversal hypergraph T of H.
T≔Transversal⁡H
T≔< a hypergraph on 5 vertices with 5 hyperedges >
Check that H is auto-transversal, that is, H and T are equal.
AreEqual⁡H,T
true
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[ExampleHypergraphs][Fan] command was introduced in Maple 2024.
For more information on Maple 2024 changes, see Updates in Maple 2024.
See Also
Hypergraphs[Transversal]
Download Help Document