my.general.dfs: Running depth first search on a tree and calling functions on...

Description Usage Arguments Value

View source: R/scelestial.R

Description

It is used for internal purposes.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
my.general.dfs(
  nei,
  v,
  f,
  extra,
  in.call,
  mid.call.before,
  mid.call.after,
  out.call
)

Arguments

nei

Neighbor list for each vertex

v

Starting node

f

Parent node

extra

the shared object for the whole DFS

in.call

First function to call

mid.call.before

Function to call before calling child DFS

mid.call.after

Function to call after calling child DFS

out.call

Last function to call

Value

the extra parameter modified with in.call, mid.call.before, mid.call.after, and out.call functions


RScelestial documentation built on March 24, 2020, 1:08 a.m.