horder: The number of vertices, edges and statistics of the hypergraph.
Description
This returns the number of vertices and hyper-edges, and similar statistics,
for a hypergraph.
Usage
hnames(h)
horder(h)
hsize(h)
edge_orders(h)
Arguments
h
a hypergraph.
Value
a named vector of vertics, or the names of the vertices.
Order refers to the number of vertices, size to the number of hyper-edges.
The edge_orders function returns the number of vertices in each of the
hyper-edges. In a simple graph, this would always be 2.