A hypergraph consists of a set of nodes and a set of
hyperedges. Each hyperedge is a subset of the node set. This class
provides a representation of a hypergraph that is (hopefully) useful
for computing.
Arguments
Objects from the Class
Objects can be created by calls of the form new("Hypergraph", nodes, hyperedges).
You can also use the convenience function Hypergraph. The
nodes argument should be a character vector of distinct labels
representing the nodes of the hypergraph. The hyperedges
argument must be a list of Hyperedge-class objects.