powered by
The complement of a hypergraph is a hypergraph consisting of the hyper-edges that are not found in the original hypergraph.
hypergraph.complement(h)
a hypergraph.
The incidence matrix of the complement of h has a 0 in those places the original matrix had a 1, and a 1 in those places the original matrix had a 0.
h
# NOT RUN { h <- hypergraph_from_edgelist(list(c(2,3),c(1,4))) hypergraph.complement(h) # }
Run the code above in your browser using DataLab