gn2path: returns all paths between two nodes

Description Usage Arguments Value Examples

View source: R/f0.g4n1.code.r

Description

To return all paths between two nodes, this function prepares the parentship matrix and calls the recursive function pam2path

Usage

1
gn2path(gn, d, a)

Arguments

gn

a gn object

d

departure node (ion)

a

arrival node (ion)

Value

a list of vectors with all possible paths (nodes are identified by iins)

Examples

1
2
 g4n3k("RESET"); # needed only for R checking, to be forgotten
 gn2path(g4n.gn7, "A", "F");

g4n documentation built on May 2, 2019, 5:47 p.m.

Related to gn2path in g4n...