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

Filter tests with PC in CEGIS

parent 5dba7016
No related branches found
No related tags found
No related merge requests found
......@@ -695,7 +695,7 @@ abstract class CEGISLike(name: String) extends Rule(name) {
timers.cex.start()
val solverf = SolverFactory.getFromSettings(hctx, programCTree).withTimeout(cexSolverTo)
val solver = solverf.getNewSolver()
val cnstr = FunctionInvocation(phiFd.typed, phiFd.params.map(_.id.toVariable))
val cnstr = FunctionInvocation(phiFd.typed, phiFd.params.map(_.id.toVariable))
try {
solver.assertCnstr(andJoin(bsOrdered.map(b => if (bs(b)) b.toVariable else Not(b.toVariable))))
......@@ -772,7 +772,7 @@ abstract class CEGISLike(name: String) extends Rule(name) {
}
}
val baseExampleInputs = p.eb.examples ++ solverExample
val baseExampleInputs = p.qeb.filterIns(p.pc.fullClause).eb.examples ++ solverExample
ifDebug { debug =>
baseExampleInputs.foreach { in =>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment