-
Notifications
You must be signed in to change notification settings - Fork 1
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
Iterator doesn't iterate? #113
Comments
When you say you don't get a single program, are you saying the iterator is fully exhausted without a single program? Or is it just that it doesn't find any program quickly? |
It gets stuck in search and doesn't terminate. I think the issue is that the program space is too large. Especially a DFS is very tough, because then the first |
Example of the issueOne of the
However, since we enforce 3 contains constraints for 3 different Unfortunately, this deduction can not be made until one of the 2 Possible SolutionImplement a |
You say it also doesn't work with |
It doesn't return any program at all for me. Speaking code: julia> for h in iter
println(rulenode2expr(h, grammar))
end never prints anything. |
Hm, that is odd. I literally get no solution at all running it for 30s. No additional constraints, plain setup as above. |
I am trying to generate programs over a specific benchmark. As the grammar is too wide, I am using constraints to find only programs that contain the input.
Setup
The benchmark
(re-implementation of the BUSTLE grammar for SyGuS)
Then I run
Then I add constraints to contain the inputs
which gives me the correct
Contains
constraints.Now I init my iterator.
(Also doesn't work with
BFSIterator
andRandomSearchIterator
.Issue
Now when I try to run it with
or with
iterate(iter)
, I do not get a single program. However, if I only add 2 constraints usingfor i in 1:2
instead (see above), I get all the programs I need.If I use the regular
SyGuS.SLIA
grammar for this problem everything works flawlessly. Maybe its the grammar width?The text was updated successfully, but these errors were encountered: