Description Usage Arguments Value Author(s) See Also Examples
Tools to determine whether a hypergraph has degenerate elements such as loops (hyper-edges with a single vertex) isolated vertices (ones which appear in no hyper-edges) and empty hyper-edges.
1 2 3 | has.isolates(h)
has.loops(h)
has.empty.hyperedges(h)
|
h |
a hypergraph. |
returns a logical.
David J. Marchette dmarchette@gmail.com.
remove.isolates
,
remove.loops
,
remove.empty.hyperedges
.
reduce.hypergraph
.
1 2 3 4 5 | h <- hypergraph_from_edgelist(list(1:3,2:8,9))
has.loops(h) ## TRUE
has.isolates(h) ## FALSE
k <- hypergraph.add.vertices(h,10)
has.isolates(k) ## TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.