Learn R Programming

HyperG (version 1.0.0)

is.empty.hypergraph: Is the hypergraph empty.

Description

determines whether the hypergraph contains no hyper-edges.

Usage

is.empty.hypergraph(h)

Arguments

h

a hypergraph.

Value

a logical.

Examples

Run this code
# NOT RUN {
  h <- hypergraph_from_edgelist(list(1:3))
  is.empty.hypergraph(h)
  k <- hypergraph.delete.edges(h,1)
  is.empty.hypergraph(k)
# }

Run the code above in your browser using DataLab