weiMax: Weighted function

View source: R/weiMax.R

weiMaxR Documentation

Weighted function

Description

This weight function returns the inverse of the max node degree of an edge.

Usage

weiMax(a, b)

Arguments

a

node degree of one end of an edge

b

node degree of another end of an edge

Value

The weight uses the max node degrees of an edge.

Examples

# For an edge where one end has a node degree of 5
# another end has a node degree of 6
weiMax(6, 5)


rgTest documentation built on Aug. 14, 2023, 5:08 p.m.