xegaDerivationTrees

Generating and Manipulating Derivation Trees

CRAN Package

Derivation tree operations are needed for implementing grammar-based genetic programming and grammatical evolution: Generating of a random derivation trees of a context-free grammar of bounded depth, decoding a derivation tree, choosing a random node in a derivation tree, extracting a tree whose root is a specified node, and inserting a subtree into a derivation tree at a specified node. These operations are necessary for the initializiation and for decoders of a random population of programs, as well as for implementing crossover and mutation operators. Depth-bounds are guaranteed by switching to a grammar without recursive production rules. For executing the examples, the package 'BNF' is needed. The basic tree operations of generating, extracting, and inserting of derivation trees as well as the conditions for guaranteeing complete derivation trees have been presented in Geyer-Schulz (1997, ISBN:978-3-7908-0830-X). The use of random integer vectors for the generation of derivation trees has been introduced in Ryan, C., Collins, J. J., and O'Neill, M. (1998) doi:10.1007/BFb0055930.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 514 times in the last 30 days. This could be a paper that people cite without reading. Reaching the medium popularity echelon is no small feat! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 22 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 16, 2025
0 downloadsMar 17, 2025
26 downloadsMar 18, 2025
7 downloadsMar 19, 2025
6 downloadsMar 20, 2025
8 downloadsMar 21, 2025
4 downloadsMar 22, 2025
1 downloadsMar 23, 2025
52 downloadsMar 24, 2025
4 downloadsMar 25, 2025
4 downloadsMar 26, 2025
5 downloadsMar 27, 2025
49 downloadsMar 28, 2025
3 downloadsMar 29, 2025
2 downloadsMar 30, 2025
2 downloadsMar 31, 2025
51 downloadsApr 1, 2025
3 downloadsApr 2, 2025
1 downloadsApr 3, 2025
2 downloadsApr 4, 2025
51 downloadsApr 5, 2025
4 downloadsApr 6, 2025
4 downloadsApr 7, 2025
3 downloadsApr 8, 2025
51 downloadsApr 9, 2025
3 downloadsApr 10, 2025
10 downloadsApr 11, 2025
59 downloadsApr 12, 2025
8 downloadsApr 13, 2025
7 downloadsApr 14, 2025
62 downloadsApr 15, 2025
22 downloadsApr 16, 2025
0 downloadsApr 17, 2025
0 downloadsApr 18, 2025
0 downloadsApr 19, 2025
1
62

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 6,686 times in the last 365 days. That's a lot of interest! Someone might even write a blog post about it. The day with the most downloads was Sep 11, 2024 with 65 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports1 package
  • Suggests1 package
  • Reverse Imports3 packages