public class SolverContextFactory extends Object
SolverContext
corresponding to the chosen solver.
Main entry point for JavaSMT.
| Modifier and Type | Class and Description |
|---|---|
static class |
SolverContextFactory.InnerUtilFactory
Interface for completely encapsulating all accesses to a solver's package to decouple the
solver's package from the rest of the code.
|
static class |
SolverContextFactory.Solvers |
| Constructor and Description |
|---|
SolverContextFactory(Configuration pConfig,
LogManager pLogger,
ShutdownNotifier pShutdownNotifier) |
| Modifier and Type | Method and Description |
|---|---|
static SolverContext |
createSolverContext(Configuration config,
LogManager logger,
ShutdownNotifier shutdownNotifier)
Shortcut for getting a
SolverContext, the solver is selected using the configuration
config |
static SolverContext |
createSolverContext(Configuration config,
LogManager logger,
ShutdownNotifier shutdownNotifier,
SolverContextFactory.Solvers solver)
Shortcut for getting a
SolverContext, the solver is selected using an argument. |
static SolverContext |
createSolverContext(SolverContextFactory.Solvers solver)
Minimalistic shortcut for creating a solver context.
|
SolverContext |
generateContext()
Create new context with solver chosen according to the supplied configuration.
|
SolverContext |
generateContext(SolverContextFactory.Solvers solverToCreate)
Create new context with solver name supplied.
|
public SolverContextFactory(Configuration pConfig, LogManager pLogger, ShutdownNotifier pShutdownNotifier) throws InvalidConfigurationException
InvalidConfigurationExceptionpublic SolverContext generateContext() throws InvalidConfigurationException
InvalidConfigurationExceptionpublic SolverContext generateContext(SolverContextFactory.Solvers solverToCreate) throws InvalidConfigurationException
InvalidConfigurationExceptionpublic static SolverContext createSolverContext(Configuration config, LogManager logger, ShutdownNotifier shutdownNotifier) throws InvalidConfigurationException
SolverContext, the solver is selected using the configuration
config
See SolverContextFactory(Configuration, LogManager, ShutdownNotifier) for
documentation of accepted parameters.
InvalidConfigurationExceptionpublic static SolverContext createSolverContext(Configuration config, LogManager logger, ShutdownNotifier shutdownNotifier, SolverContextFactory.Solvers solver) throws InvalidConfigurationException
SolverContext, the solver is selected using an argument.
See SolverContextFactory(Configuration, LogManager, ShutdownNotifier) for
documentation of accepted parameters.
InvalidConfigurationExceptionpublic static SolverContext createSolverContext(SolverContextFactory.Solvers solver) throws InvalidConfigurationException
solver - Solver to initializeInvalidConfigurationException