You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Revise, HerbSearch, HerbGrammar, HerbData, HerbInterpret
g =@csgrammarbegin
Number = x |1
Number = Number + Number
Number = Number * Number
end
problem =Problem([IOExample(Dict(:x=> x), 2x+1) for x ∈1:5])
iterator =BFSIterator(g, :Number, max_depth=5)
solution, flag =synth(problem, iterator)
output =test_with_input(SymbolTable(g), solution, Dict(:x=>6))
println(output)
Concrete structs can automatically inherit the fields of
ProgramIterator
with the@programiterator
macro.Todo:
genetic_enumerators
The text was updated successfully, but these errors were encountered: