calcN: Compute total traffic from a particular time.

View source: R/lib.R

calcNR Documentation

Compute total traffic from a particular time.

Description

Compute total traffic from a particular time.

Usage

calcN(yt, A1)

Arguments

yt

length-m numeric vectors of observed aggregate flows at a particular time

A1

m x m matrix containing the full-rank portion of the network's routing matrix, as supplied by decomposeA

Examples

data(bell.labs)
A.decomp <- decomposeA(bell.labs$A)
total.traffic <- calcN(yt=bell.labs$Y[1,], A1=A.decomp$A1)
total.traffic == sum(bell.labs$X[1,])

awblocker/networkTomography documentation built on May 14, 2022, 10:05 p.m.