to_BFS: Function to rearrage nodes in BFS

View source: R/to_BFS.R

to_BFSR Documentation

Function to rearrage nodes in BFS

Description

Function to rearrage nodes in BFS

Usage

to_BFS(adj_list, node_info)

Arguments

adj_list

The output of lang_2_tree.

node_info

The output of lang_2_tree.

Details

This function is for an internal TreeHarp constructor use. It is not exported.

Value

An adjacency list and nodes info data frame in BFS order.


autoharp documentation built on April 3, 2025, 6:36 p.m.

Related to to_BFS in autoharp...