Package: dynprog 0.1.1
dynprog: Dynamic Programming Domain-Specific Language
A domain-specific language for specifying translating recursions into dynamic-programming algorithms. See <https://en.wikipedia.org/wiki/Dynamic_programming> for a description of dynamic programming.
Authors:
dynprog_0.1.1.tar.gz
dynprog_0.1.1.zip(r-4.5)dynprog_0.1.1.zip(r-4.4)dynprog_0.1.1.zip(r-4.3)
dynprog_0.1.1.tgz(r-4.4-any)dynprog_0.1.1.tgz(r-4.3-any)
dynprog_0.1.1.tar.gz(r-4.5-noble)dynprog_0.1.1.tar.gz(r-4.4-noble)
dynprog_0.1.1.tgz(r-4.4-emscripten)dynprog_0.1.1.tgz(r-4.3-emscripten)
dynprog.pdf |dynprog.html✨
dynprog/json (API)
NEWS
# Install 'dynprog' in R: |
install.packages('dynprog', repos = c('https://mailund.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mailund/dynprog/issues
Last updated 5 years agofrom:8191bdb7c4. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 03 2024 |
R-4.5-win | OK | Nov 03 2024 |
R-4.5-linux | OK | Nov 03 2024 |
R-4.4-win | OK | Nov 03 2024 |
R-4.4-mac | OK | Nov 03 2024 |
R-4.3-win | OK | Nov 03 2024 |
R-4.3-mac | OK | Nov 03 2024 |
Exports:%where%
Dependencies:rlang
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Connects a recursion with sequences it should recurse over. | %where% |
Evaluate an entire dynprog recursion. | eval_recursion |
Extract the table name from a pattern. | get_table_name |
Translate condition expressions into calls that test them. | make_condition_checks |
Translate a pattern into a predicate that checks the pattern. | make_pattern_match |
Make pattern tests for all patterns. | make_pattern_tests |
Construct a test for a case in the recursion | make_recursion_case |
String together the case 'if'-statements of a recursion. | make_update_expr |
Parser for the ranges part of a specification. | parse_ranges |
Parser for the recursion part of a specification. | parse_recursion |