Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update search to not be hard-coded to symbol :Real #10

Merged
merged 4 commits into from
Mar 2, 2023

Conversation

THinnerichs
Copy link
Member

@THinnerichs THinnerichs commented Feb 27, 2023

search should not be hard-coded to symbol :Real.

@THinnerichs
Copy link
Member Author

I would love to keep this branch open for jump starting from actual (underdefined expressions). See #9 .

@@ -1,10 +1,10 @@
"""
Searches the grammar up to the provided depth for a program that satisfies problem
"""
function search(g::Grammars.Grammar, problem::Data.Problem, depth::Int, enumerator=ContextFreeEnumerator) :: Expr
function search(g::Grammars.Grammar, problem::Data.Problem, depth::Int, enumerator=ContextFreeEnumerator, start::RuleNode) :: Expr
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be start::Symbol instead of start::RuleNode

@jaapdejong15 jaapdejong15 merged commit cdf7891 into master Mar 2, 2023
@jaapdejong15 jaapdejong15 deleted the jumpstarting_program_search branch May 25, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants