finite_tree: Build the prefix closure of finitely many finite paths,...

View source: R/finite.R

finite_treeR Documentation

Build the prefix closure of finitely many finite paths, including the root

Description

Build the prefix closure of finitely many finite paths, including the root.

Usage

finite_tree(paths, max_nodes = 10000L)

Arguments

paths

Finite paths, each a sequence of nonempty string labels. Prefix closure and the root are added.

max_nodes

Maximum prefix-closed tree size; individual paths have depth at most 100.

Details

All conclusions are restricted to the supplied finite data. They do not witness infinite cardinals, genericity over a full infinite model or infinite determinacy. Invalid domains, missing interpretations and exhausted budgets raise classified errors. Tree depth is at most 100. Relation analysis uses at most 100 domain labels. Exhaustive partition queries are intentionally restricted.

Input errors inherit from largecardinals_error and expose a code. No function publishes data or accesses the network.

Value

A finite_tree record containing the root and all prefixes of the supplied paths.

Examples

finite_tree(list(list("a", "x"), list("a", "y"), list("b", "x"), list("b", 
    "y")))

largecardinals documentation built on Nov. 25, 2026, 5:09 p.m.