Description Usage Arguments Details Value Note Author(s) References See Also Examples
Construct the line graph of a hypergraph.
1 | line.graph(h)
|
h |
a hypergraph. |
The line graph of a hypergraph is essentially the same concept as the line graph of a graph: it is the graph whose vertices correspond to the hyper-edges, with an edge between two vertices if their corresponding hyper-edges intersect.
a graph.
If h
is an igraph graph, the function igraph::line_graph
will be called. line.graph
is the only function that masks an
igraph function, but I am assuming that the '_' version is
preferred by igraph.
David J. Marchette dmarchette@gmail.com
Voloshin, Vitaly I. Introduction to graph and hypergraph theory. Nova Science Publ., 2009.
1 2 | h <- hypergraph_from_edgelist(list(1:3,2:4,4:5,c(2,4:5)))
g <- line.graph(h)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.