spectral_distance {rhype}R Documentation

Find the Spectral Distance Between Two Hypergraphs

Description

Find the Spectral Distance Between Two Hypergraphs

Usage

spectral_distance(hype1, hype2, matrix = "laplacian")

Arguments

hype1

A hypergraph object

hype2

A hypergraph object

matrix

The matrix to calculate the spectral distance with respect to. Out of "laplacian", "adjacency", "vert_norm_lap_mat" and "hype_norm_lap_mat"

Value

A number representing the spectral distance between the two hypergraphs with respect to the given matrix

Examples

h1 <- example_hype()
h2 <- example_hype()
spectral_distance(h1, h2)

[Package rhype version 0.3.0 Index]