Ejemplo n.º 1
0
 @Override
 public Result solve(Expression<Boolean> exprsn, Valuation vltn) {
   if (!filter.submitToSolver(exprsn)) {
     return Result.DONT_KNOW;
   }
   return solver.solve(exprsn, vltn);
 }
Ejemplo n.º 2
0
 @Override
 public SimpleSelectiveSolverContext createContext() {
   SolverContext ctx = solver.createContext();
   return new SimpleSelectiveSolverContext(ctx, filter, evaluate);
 }