hypergraph.complement {HyperG}R Documentation

The complement of a hypergraph.

Description

The complement of a hypergraph is a hypergraph consisting of the hyper-edges that are not found in the original hypergraph.

Usage

hypergraph.complement(h)

Arguments

h

a hypergraph.

Details

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.

Value

a hypergraph.

Author(s)

David J. Marchette dmarchette@gmail.com

Examples

    h <- hypergraph_from_edgelist(list(c(2,3),c(1,4)))
	 hypergraph.complement(h)

[Package HyperG version 1.0.0 Index]