Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/org/sosy_lab/java_smt/SolverContextFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import org.sosy_lab.java_smt.solvers.smtinterpol.SmtInterpolSolverContext;
import org.sosy_lab.java_smt.solvers.yices2.Yices2SolverContext;
import org.sosy_lab.java_smt.solvers.z3.Z3SolverContext;
import org.sosy_lab.java_smt.solvers.z3legacy.Z3LegacySolverContext;

/**
* Factory class for loading and generating solver contexts. Generates a {@link SolverContext}
Expand All @@ -55,6 +56,7 @@ public enum Solvers {
MATHSAT5,
SMTINTERPOL,
Z3,
Z3LEGACY,
PRINCESS,
BOOLECTOR,
CVC4,
Expand Down Expand Up @@ -290,6 +292,17 @@ private SolverContext generateContext0(Solvers solverToCreate)
nonLinearArithmetic,
loader);

case Z3LEGACY:
return Z3LegacySolverContext.create(
logger,
config,
shutdownNotifier,
logfile,
randomSeed,
floatingPointRoundingMode,
nonLinearArithmetic,
loader);

case PRINCESS:
return PrincessSolverContext.create(
config, shutdownNotifier, logfile, (int) randomSeed, nonLinearArithmetic);
Expand Down
Loading