Herb-AI / HerbGrammar.jl

Grammars for Herb.jl
https://herb-ai.github.io/
MIT License
0 stars 2 forks source link

Weighted grammars #90

Open IssaHanou opened 3 weeks ago

IssaHanou commented 3 weeks ago

Add the possibility of assigning different weights (costs) to the rules of a grammar. The setup should be similar to the probabilistic_csg. The costs should be used in evaluating a program, such that expensive rules should be minimized in use.

Requirements:

The creation of the grammar type and the use in the iterators can be split into different PRs

Extensions: