Usage
buildRoutingMatrix(nodes, src, dest, weights = NULL, agg = FALSE, sep = "_", aggChar = "*", verbose = 0)
Arguments
nodes
vector (lenght n) of node identifiers
src
vector (length m) of sources, one per link,
matched with dest
dest
vector (length n) of destination identifiers,
one per link, matched with src
weights
numeric vector (length m) of weights for
each link; used in shortest-path routing calculations
(roughly OSPF)
agg
logical for whether to include aggregate
source and destination flows for each node
sep
character separator between node id's for link
and OD names
aggChar
character to indicate aggregate flows;
should be distinct from sep
verbose
integer level of verbosity; 0 is silent,
>=1 are increasing levels of reporting