Skip to content
Snippets Groups Projects
Commit 33b63e07 authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

Stop unfolding if grammar is closed, which it is for CEGLESS

parent 806c0a00
No related branches found
No related tags found
No related merge requests found
......@@ -561,6 +561,10 @@ abstract class CEGISLike[T <% Typed](name: String) extends Rule(name) {
solver1.assertCnstr(clause)
solver2.assertCnstr(clause)
if (clauses.isEmpty) {
unfolding = maxUnfoldings
}
}
// Compute all programs that have not been excluded yet
......
......@@ -13,7 +13,7 @@ import utils._
import utils.ExpressionGrammars._
case object CEGLESS extends CEGISLike[Label[String]]("CEGLESS") {
override val maxUnfoldings = 3;
override val maxUnfoldings = 1000;
def getGrammar(sctx: SynthesisContext, p: Problem) = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment