has.isolates: Test for loops, isolates and empty hyper-edges.
Description
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.
# NOT RUN { 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# }