use of com.sri.ai.grinder.api.SingleQuantifierEliminationProblem in project aic-expresso by aic-sri-international.
the class AbstractSingleQuantifierEliminationStepSolver method makeWithNewIndexConstraint.
protected AbstractSingleQuantifierEliminationStepSolver makeWithNewIndexConstraint(SingleVariableConstraint newIndexConstraint) {
try {
SingleQuantifierEliminationProblem newProblem = getProblem().makeWithNewIndexConstraint(newIndexConstraint);
AbstractSingleQuantifierEliminationStepSolver result = getClass().getConstructor(SingleQuantifierEliminationProblem.class).newInstance(newProblem);
return result;
} catch (InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | NoSuchMethodException | SecurityException e) {
throw new Error(e);
}
}
use of com.sri.ai.grinder.api.SingleQuantifierEliminationProblem in project aic-expresso by aic-sri-international.
the class IntegrationRecording method store.
private static void store(SingleQuantifierEliminationProblem problem, Expression literalFreeBody, Context context, Step result) {
if (storingIntegrationsOverGroups) {
SingleQuantifierEliminationProblem problemWithNewBody = problem.makeWithNewBody(literalFreeBody);
Integration integration = new Integration(problem, problemWithNewBody, context, result);
Util.putInListValue(integrationsOverGroup, problem.getGroup(), integration);
}
}
use of com.sri.ai.grinder.api.SingleQuantifierEliminationProblem in project aic-expresso by aic-sri-international.
the class QuantifierEliminationOnBodyInWhichIndexOnlyOccursInsideLiteralsStepSolver method makeSolver.
private SingleQuantifierEliminationForIndexFreeBody makeSolver(Expression literalFreeBody, Context context) {
SingleQuantifierEliminationProblem problemWithLiteralFreeBody = getProblem().makeWithNewBody(literalFreeBody);
SingleQuantifierEliminationForIndexFreeBody solver = new SingleQuantifierEliminationForIndexFreeBody(problemWithLiteralFreeBody, context);
return solver;
}
Aggregations