hypergraph.is.connected {HyperG}R Documentation

Is the hypergraph connected?

Description

Uses the igraph is.connected function to determine if a hypergraph is connected.

Usage

hypergraph.is.connected(h)

Arguments

h

a hypergraph.

Details

First the hypergraph is converted to a graph. Then the resulting graph is passed to the igraph is.connected function.

Value

a logical.

Author(s)

David J. Marchette dmarchette@gmail.com

See Also

is.connected.

Examples

   hypergraph.is.connected(hypergraph_from_edgelist(list(1:4,3:5)))
	## TRUE
   hypergraph.is.connected(hypergraph_from_edgelist(list(1:4,5:7)))
	## FALSE

[Package HyperG version 1.0.0 Index]