-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathSolverUtils.java
37 lines (31 loc) · 1.05 KB
/
SolverUtils.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.utils;
import org.sosy_lab.java_smt.api.FormulaManager;
/** Central entry point for all utility classes. */
public final class SolverUtils {
private SolverUtils() {}
/**
* Creates a new {@link UfElimination} instance.
*
* @param pFormulaManager the {@link FormulaManager} to be used
* @return a new {@link UfElimination} instance
*/
public static UfElimination ufElimination(FormulaManager pFormulaManager) {
return new UfElimination(pFormulaManager);
}
/**
* Creates a new {@link PrettyPrinter} instance.
*
* @param pFormulaManager the {@link FormulaManager} to be used
* @return a new {@link PrettyPrinter} instance
*/
public static PrettyPrinter prettyPrinter(FormulaManager pFormulaManager) {
return new PrettyPrinter(pFormulaManager);
}
}