Kuratowski - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Hypergraphs[ExampleHypergraphs]

  

Kuratowski

  

Return a random hypergraph of given order and size

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

Kuratowski(S,r)

Parameters

S

-

set

r

-

posint

Description

• 

The command Kuratowski(S,r) returns the Kuratowski hypergraph on S, that is, the hypergraph K whose vertex set is S whose hyperedges are the subsets of S with exactly r elements.

Assumptions

• 

The integer r must be  less or equal to n, where n is the cardinality of S. Otherwise, an error is raised.

Examples

withHypergraphs:withExampleHypergraphs:

Consider the following Kuratowski hypergraph.

K3Kuratowski1,2,3,4,5,3

K3< a hypergraph on 5 vertices with 10 hyperedges >

(1)

Draw a graphical representation of this hypergraph.

DrawK3

Observe that K3 is its own transversal.

AreEqualTransversalK3&comma;K3

true

(2)

Consider these two Kuratowski hypergraphs.

K2Kuratowski1&comma;2&comma;3&comma;4&comma;5&comma;2&semi;K4Kuratowski1&comma;2&comma;3&comma;4&comma;5&comma;4

K2< a hypergraph on 5 vertices with 10 hyperedges >

K4< a hypergraph on 5 vertices with 5 hyperedges >

(3)

Draw a graphical representation of K2.

DrawK2

Draw a graphical representation of K4.

DrawK4

Observe that K2 is the transversal hypergraph of K4.

TTransversalK2&semi;AreEqualT&comma;K4

T< a hypergraph on 5 vertices with 5 hyperedges >

true

(4)

Observe that K4 is the transversal hypergraph of K2.

TTransversalK2&semi;AreEqualT&comma;K4

T< a hypergraph on 5 vertices with 5 hyperedges >

true

(5)

References

  

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.

Compatibility

• 

The Hypergraphs[ExampleHypergraphs][Kuratowski] command was introduced in Maple 2024.

• 

For more information on Maple 2024 changes, see Updates in Maple 2024.

See Also

Hypergraphs[Transversal]