max_cardinality: Find The Maximum Cardinality Of A Hyperedge In A Hypergraph

View source: R/degree.R

max_cardinalityR Documentation

Find The Maximum Cardinality Of A Hyperedge In A Hypergraph

Description

The cardinality of a hyperedge is the number of vertices that it contains.

Usage

max_cardinality(hype)

Arguments

hype

A hypergraph object.

Value

The value of the maximum cardinality of a hyperedge in the hypergraph.

Examples

hype <- example_hype()
max_cardinality(hype)

hwarden162/hyper documentation built on Sept. 15, 2022, 5:21 a.m.