Description Usage Arguments Details Value Author(s) References See Also Examples
Test if a hypergraph is a hypertree.
1 | is.hypertree(h, ...)
|
h |
a hypergraph. |
... |
arguments passed to the igraph
|
Uses Corollary 8.1.1 of the reference: a hypergraph is a hypertree if and only if it is Helly and it's line graph is chordal.
a logical.
David J. Marchette dmarchette@gmail.com.
Voloshin, Vitaly I. Introduction to graph and hypergraph theory. Nova Science Publ., 2009.
is_chordal
.
line_graph
.
line.graph
,
has.helly
.
1 2 3 4 5 | h <- hypergraph_from_edgelist(list(1:3,2:4,4:5,c(2,4:5)))
is.helly(h)
g <- line.graph(h)
is_chordal(g)
is.hypertree(h)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.