Learn R Programming

HyperG (version 1.0.0)

H2: Two sections of a hypergraph.

Description

Two section of a hypergraph.

Usage

H2(h)

Arguments

h

a hypergraph.

Value

a graph.

Details

The 2-section of a hypergraph is the graph with vertices corresponding to hyper-edges, and edges corresponding to whether the hyper-edges intersect.

References

Voloshin, Vitaly I. Introduction to graph and hypergraph theory. Nova Science Publ., 2009.

Examples

Run this code
# NOT RUN {
h <- hypergraph_from_edgelist(list(c(1,2,5),c(2,3,5),c(3,4),c(4,5)))
g <- H2(h)
## see Figure 7.11 of the reference.
# }

Run the code above in your browser using DataLab