calcN: Compute total traffic from a particular time.

Description Usage Arguments Examples

View source: R/lib.R

Description

Compute total traffic from a particular time.

Usage

1
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

1
2
3
4
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,])

networkTomography documentation built on May 29, 2017, 4:56 p.m.