Learn R Programming

xegaDerivationTrees (version 1.0.0.6)

treeChildren: Returns the children of a derivation tree.

Description

treeChildren() returns the children of a derivation tree represented as a list of derivation trees.

Usage

treeChildren(tree)

Value

The children of a derivation tree (a list of derivation trees).

Arguments

tree

Derivation tree.

See Also

Other Access Tree Parts: filterANL(), filterANLid(), treeANL(), treeRoot()

Examples

Run this code
g<-compileBNF(booleanGrammar())
a<-randomDerivationTree(g$Start, g)
treeChildren(a) 

Run the code above in your browser using DataLab