Skip to content
Snippets Groups Projects
Commit c5b2ecbf authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

Simplify this

parent 542dea5c
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ case object CEGLESS extends CEGISLike[NonTerminal[String]]("CEGLESS") { ...@@ -30,7 +30,7 @@ case object CEGLESS extends CEGISLike[NonTerminal[String]]("CEGLESS") {
} }
} }
val guidedGrammar = guides.map(SimilarTo(_, inputs.toSet, sctx, p)).foldLeft[ExpressionGrammar[NonTerminal[String]]](Empty())(_ || _) val guidedGrammar = Union(guides.map(SimilarTo(_, inputs.toSet, sctx, p)))
CegisParams( CegisParams(
grammar = guidedGrammar, grammar = guidedGrammar,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment