CalculateChanges {EDISON}R Documentation

Function to calculate the number of differences between adjaccent network segments.

Description

This function takes the current network structure, compares each segment to the next one, and calculates the number of changes. If soft information sharing among nodes is active, then this procedure is only done for the current target node.

Usage

CalculateChanges(network.info, node.sharing)

Arguments

network.info

The network information collected by function CollectNetworkInfo.

node.sharing

Specifies the type of information sharing among nodes: 'soft' or 'hard'.

Value

Returns a vector with 4 elements: the number of coinciding edges, the number of edges in the previous segment that are absent in the next one, the number of edges in the next segment that are absent in the previous one and the number of coinciding non-edges.

Author(s)

Frank Dondelinger


[Package EDISON version 1.1.1 Index]