routesAddEdges: Update a routes matrix (edge addition).

Description Usage Arguments Details See Also

View source: R/routes.R

Description

A routes matrix is a matrix A, such that each element (i, j) is the number of routes from i to j in some directed graph.

Usage

1
  routesAddEdges(x, i, j)

Arguments

x

A routes matrix

i

The nodes from which the added edge emanates

j

The node that the added edge goes to. ONLY ONE NODE HERE

Details

This function updates the routes matrix to account for the addition of an edge from i to j in the directed graph

See Also

routesRemoveEdges, nonDescendants


rjbgoudie/structmcmc documentation built on Nov. 3, 2020, 3:41 a.m.