hrank: Rank of a hypergraph.

Description Usage Arguments Value Author(s) References Examples

View source: R/rank.R

Description

Return the rank and corank of a hypergraph. The rank is the maximum cardinality of a hyperedge, the corank (sometimes called the anti-rank) is the minimum.

Usage

1
hrank(h)

Arguments

h

a hypergraph.

Value

a number.

Author(s)

David J. Marchette dmarchette@gmail.com

References

Bretto, Alain, Hypergraph theory, An introduction. Springer, 2013.

Examples

1
2
3
h <- hypergraph_from_edgelist(list(1:5,4:7,c(1,6)))
hrank(h)   # 5
hcorank(h) # 2

HyperG documentation built on March 4, 2021, 5:06 p.m.

Related to hrank in HyperG...