Build routing matrices for linked star topologies; that is, a set of star-topology networks with links between a subset of routers

Description

Build routing matrices for linked star topologies; that is, a set of star-topology networks with links between a subset of routers

Usage

1
buildRoutingMat(nVec, Cmat)

Arguments

nVec

integer vector containing number of nodes in each sub-network (length m)

Cmat

matrix (m x m) containing a one for each linked sub-network; only upper triangular part is used

Value

routing matrix of dimension at least 2*sum(nVec) x sum(nVec^2)

See Also

buildStarMat, which this function depends upon

Examples

1
2
3
4
nVec <- c(3, 3, 3)
Cmat <- diag(3)
Cmat[1,2] <- Cmat[2,3] <- 1
buildRoutingMat(nVec, Cmat)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.