Skip to content

← connectivity package

Efficiency

Calculate the (global or local) efficiency parameters of a weighted-directed network.

it is assumed that the network weights are in two space axes of the input packet. The average of inverse shortest path length is the global efficiency which is inversely related to the characteristic path length. The local efficiency is similar to the global efficiency but computed on the neighborhood of the node. References: Latora and Marchiori (2001) Phys Rev Lett 87:198701. Onnela et al. (2005) Phys Rev E 71:065103 Fagiolo (2007) Phys Rev E 76:026107. Rubinov M, Sporns O (2010) NeuroImage 52:1059-69 Wang Y et al. (2016) Neural Comput 21:1-19. Version 0.0.1

Ports/Properties

data

Data to process.

verbose name
Data
default value
None
port type
DataPort
value type
Packet (can be None)
data direction
INOUT

type

The type of efficiency to be computed, can be either 'global' of 'local'.

verbose name
Type Of Efficiency
default value
local
port type
EnumPort
value type
str (can be None)

normalize

Normalize the weight matrix if this is True.

verbose name
Normalize
default value
False
port type
BoolPort
value type
bool (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)