DualHypergraph - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Hypergraphs

  

DualHypergraph

  

Return the dual of an hypergraph

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

DualHypergraph(H)

Parameters

H

-

Hypergraph

Description

• 

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.

Examples

> 

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&comma;2&comma;3&comma;4&comma;5&comma;6

1&comma;2&comma;4&comma;1&comma;3&comma;4&comma;2&comma;3&comma;4&comma;1&comma;2&comma;5&comma;1&comma;3&comma;5&comma;2&comma;3&comma;5&comma;1&comma;2&comma;6&comma;1&comma;3&comma;6&comma;2&comma;3&comma;6&comma;4&comma;5&comma;6

(1)

Draw a graphical representation of L3.

> 

Draw⁡L3

Compute the dual hypergraph DL3 of L3.

> 

DL3≔DualHypergraph⁡L3&semi;Vertices⁡DL3&semi;Hyperedges⁡DL3

DL3≔< a hypergraph on 10 vertices with 6 hyperedges >

1&comma;2&comma;3&comma;4&comma;5&comma;6&comma;7&comma;8&comma;9&comma;10

1&comma;2&comma;3&comma;10&comma;4&comma;5&comma;6&comma;10&comma;7&comma;8&comma;9&comma;10&comma;1&comma;2&comma;4&comma;5&comma;7&comma;8&comma;1&comma;3&comma;4&comma;6&comma;7&comma;9&comma;2&comma;3&comma;5&comma;6&comma;8&comma;9

(2)

Draw a graphical representation of DF4.

> 

Draw⁡DL3

Check whether L3 and DL3 are isomorphic or not.

> 

AreIsomorphic⁡L3&comma;DL3

false

(3)

Check that L3 and the dual of DL3 are isomorphic.

> 

AreIsomorphic⁡L3&comma;DualHypergraph⁡DL3

true

(4)

Consider the Fan hypergraph of rank 4.

> 

F4≔Fan⁡4&semi;Vertices⁡F4&semi;Hyperedges⁡F4

F4≔< a hypergraph on 5 vertices with 5 hyperedges >

1&comma;2&comma;3&comma;4&comma;5

1&comma;5&comma;2&comma;5&comma;3&comma;5&comma;4&comma;5&comma;1&comma;2&comma;3&comma;4

(5)

Draw a graphical representation of F4.

> 

Draw⁡F4

Compute the dual hypergraph DF4 of of F4.

> 

DF4≔DualHypergraph⁡F4&semi;Vertices⁡DF4&semi;Hyperedges⁡DF4

DF4≔< a hypergraph on 5 vertices with 5 hyperedges >

1&comma;2&comma;3&comma;4&comma;5

1&comma;5&comma;2&comma;5&comma;3&comma;5&comma;4&comma;5&comma;1&comma;2&comma;3&comma;4

(6)

Draw a graphical representation of DF4.

> 

Draw⁡DF4

Check that F4 and DF4 are isomorphic.

> 

AreIsomorphic⁡F4&comma;DF4

true

(7)

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[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]