RN$downstreamPath
List (of length OCN$RN$nNodes
) whose object i
is a list (of length OCN$RN$nNodes
).
If nodes i
and j
are connected by a downstream path, then RN$downstreamPath[[i]][[j]]
is a vector
containing the indices of the nodes constituting such path (i
and j
are included). If i
and j
are not connected
by a downstream path, then RN$downstreamPath[[i]][[j]] = NULL
. Only present if includePaths = TRUE
.
RN$downstreamPathLength
Sparse matrix (OCN$RN$nNodes
by OCN$RN$nNodes
) containing length of paths between nodes
that are connected by a downstream path; if i
and j
are not connected by a downstream path, then RN$downstreamPathLength[i,j] = 0
.
Note that RN$downstreamPathLength[i,i] = 0
if includeDownstreamNode = FALSE
; alternatively, it is RN$downstreamPathLength[i,i] = OCN$RN$leng[i]
.
It is a spam
object.
RN$downstreamLengthUnconnected
Matrix (OCN$RN$nNodes
by OCN$RN$nNodes
). RN$downstreamLengthUnconnected[i,j]
is
the length of the downstream portion of a path joining node i
to j
if i
and j
are not connected by a downstream path.
Specifically, RN$downstreamLengthUnconnected[i,j] = RN$downstreamPathLength[i,k]
, where k
is a node such that there exist a downstream
path from i
to k
and from j
to k
, and these paths are the shortest possible. Note that the length of the upstream portion
of the path joining i
to j
is given by RN$downstreamLengthUnconnected[j,i]
. If instead i
and j
are joined by a
downstream path, then RN$downstreamLengthUnconnected[i,j] = 0
. Only present if includeUnconnectedPaths = TRUE
.
AG$downstreamPath
List (of length OCN$AG$nNodes
) whose object i
is a list (of length OCN$AG$nNodes
).
If nodes i
and j
are connected by a downstream path, then AG$downstreamPath[[i]][[j]]
is a vector
containing the indices of the nodes constituting such path (i
and j
are included). If i
and j
are not connected
by a downstream path, then AG$downstreamPath[[i]][[j]] = NULL
. Only present if includePaths = TRUE
.
AG$downstreamPathLength
Sparse matrix (OCN$AG$nNodes
by OCN$AG$nNodes
) containing length of paths between nodes
that are connected by a downstream path; if i
and j
are not connected by a downstream path, then AG$downstreamPathLength[i,j] = 0
.
Note that AG$downstreamPathLength[i,i] = 0
if includeDownstreamNode = FALSE
; alternatively, it is AG$downstreamPathLength[i,i] = OCN$AG$leng[i]
.
It is a spam
object.
AG$downstreamLengthUnconnected
Matrix (OCN$AG$nNodes
by OCN$AG$nNodes
). AG$downstreamLengthUnconnected[i,j]
is
the length of the downstream portion of a path joining node i
to j
if i
and j
are not connected by a downstream path.
Specifically, AG$downstreamLengthUnconnected[i,j] = AG$downstreamPathLength[i,k]
, where k
is a node such that there exist a downstream
path from i
to k
and from j
to k
, and these paths are the shortest possible. Note that the length of the upstream portion
of the path joining i
to j
is given by AG$downstreamLengthUnconnected[j,i]
. If instead i
and j
are joined by a
downstream path, then AG$downstreamLengthUnconnected[i,j] = 0
. Only present if includeUnconnectedPaths = TRUE
.