Uses of Class
org.smtlib.SMT.Configuration
Packages that use SMT.Configuration
Package
Description
This package contains the main classes and abstract interfaces for this
SMT-LIB tool; the tool provides a stand-alone SMT-LIB-compliant command-line
application, an application that responds to SMT-LIB commands over a
network port, and an SMT-LIB Java API.
This package contains implementations of the SMT-LIB commands,
implementing the interfaces defined in ICommand;
these implementations are independent of the concrete syntax that might
be used, except that each command object has methods that can parse or print
representations of the command in the standard (or potentially other) concrete syntaxes.
This package is an implementation of the interfaces defined in org.smtlib.
This package contains implementations of classes that implement the constraints of individual logics.
This package is a concrete implementation of a particular concrete syntax for the abstract SMT-LIB semantics.
This package implements various instances of org.smtlib.ISolver, which are
specific solvers that wrap and interact with various off-the-shelf SMT solvers
currently available.
-
Uses of SMT.Configuration in org.smtlib
Fields in org.smtlib declared as SMT.ConfigurationModifier and TypeFieldDescriptionprotected SMT.ConfigurationAbstractSolver.smtConfigSMT configuration — set by each concrete subclass constructor.protected SMT.ConfigurationCharSequenceSocket.smtConfigThe configuration for this instance of SMTSMT.Prompter.smtConfigSMT.smtConfigThe set of configuration settings for this instance of the SMT objectSymbolTable.smtConfigA reference to the Configuration for this instance of SMT.protected SMT.ConfigurationUtils.smtConfigA reference to the configuration being used for this instance of Utils.Methods in org.smtlib that return SMT.ConfigurationModifier and TypeMethodDescriptionSMT.Configuration.clone()Makes an independent copy of the configuration: a shallow, reference-copying field-for-field clone (viasuper.clone()) is not enough on its own, since several fields are mutable containers or hold a back-reference to this Configuration -- left reference-copied, mutating one of those through the clone would silently mutate the original too, contradicting this class's own "Separate instances of SMT objects can be run independently and in parallel" design goal (see the class Javadoc).AbstractSolver.smt()IParser.smt()Returns the configuration with which the parser was instantiated.ISolver.smt()Returns the configuration object with which the solver is initializedMethods in org.smtlib with parameters of type SMT.ConfigurationModifier and TypeMethodDescriptionAbstractSolver.checkPrintSuccess(SMT.Configuration smtConfig, IExpr.IKeyword key, IAttributeValue value) Answers a set-option of :print-success locally (it is never sent), else returns nullIParser.IFactory.createParser(SMT.Configuration smtConfig, ISource source) Creates a parser that reads and parses concrete syntax from the given sourceIParser.IFactory.createPrinter(SMT.Configuration smtConfig, Writer w) Creates a printerIParser.IFactory.createSource(SMT.Configuration smtConfig, File file) Creates a character source from the given fileIParser.IFactory.createSource(SMT.Configuration smtConfig, InputStream file, Object location) Creates a character source from the given streamstatic StringLog.locationIndication(IPos pos, String prompt, SMT.Configuration smtConfig) Creates a two-line, compiler-style caret diagnostic pointing at the given position; the returned value does not have a final line termination.intSMT.processCommandLine(String[] args, SMT.Configuration options) Parses the command-line, setting any option in the given configuration argument.static StringUtils.produceAssertionsKey(SMT.Configuration smtConfig) Returns the name of the option that gates get-assertions -- renamed from :interactive-mode to :produce-assertions in SMT-LIB 2.5.SMT.startSolver(SMT.Configuration smtConfig, String solvername, String executable) Starts the solver with the given name and executable, preset according to the given configuration.AbstractSolver.successOrEmpty(SMT.Configuration smtConfig) TypeChecker.validate(SMT.Configuration smtConfig, ICommand cmd) Validates non-syntactic well-formedness of a command (user IDs, duplicate names, list sizes).TypeChecker.validateDatatypeNames(SymbolTable symTable, SMT.Configuration smtConfig, List<IExpr.ISortDeclaration> sortDecls, List<ISort.IDatatype> datatypes) Checks that constructor and selector names introduced by a datatype group are not already defined (neither in the symbol table nor duplicated within the group).Constructors in org.smtlib with parameters of type SMT.ConfigurationModifierConstructorDescriptionCharSequenceSocket(SMT.Configuration smtConfig, ServerSocket serverSocket, int initialSize, int sizeIncrease, double sizeMultiple) Constructor for a new instanceLog(SMT.Configuration smtConfig) Constructs a Log based on the given configuration, adding a StandardListenerPrompter(SMT.Configuration smtConfig) Creates a prompter object - the object knows how to prompt for input based on current settings and stateSymbolTable(SMT.Configuration smtConfig) Constructs an empty symbol tableUtils(SMT.Configuration smtConfig) Creates a Utils instance for the given configuration -
Uses of SMT.Configuration in org.smtlib.command
Methods in org.smtlib.command with parameters of type SMT.ConfigurationModifier and TypeMethodDescriptionC_set_option.checkOptionType(SMT.Configuration smtConfig, IExpr.IKeyword keyword, IAttributeValue t) This method checks that the value for the given keyword has the correct type, when the keyword is used as the key for an SMT-LIB option. -
Uses of SMT.Configuration in org.smtlib.impl
Fields in org.smtlib.impl declared as SMT.ConfigurationModifier and TypeFieldDescriptionprotected final SMT.ConfigurationFactory.smtConfigThe configuration this factory's instances (e.g.protected final SMT.ConfigurationSMTExpr.Logic.smtConfigThe configuration this logic instance is scoped to; see issue #22.Methods in org.smtlib.impl with parameters of type SMT.ConfigurationModifier and TypeMethodDescriptionstatic IParser.ParserExceptionCommand.error(SMT.Configuration smt, String msg, IPos pos) Creates a ParserException with the given message and position.static voidFactory.initFactories(SMT.Configuration config) Initializes the SMT configuration object for the implementation in org.smtlib.impl - all the appropriate factories, etc.Constructors in org.smtlib.impl with parameters of type SMT.ConfigurationModifierConstructorDescriptionFactory(SMT.Configuration smtConfig) Factory(SMT.Configuration smtConfig) Logic(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) Creates a logicSource(SMT.Configuration smtConfig, File f) Creates a Source from a File; for these objects, the location is the file path (a String)Source(SMT.Configuration smtConfig, InputStream f, Object location) Creates a Source from a FileStringLiteral(SMT.Configuration smtConfig, String value, boolean quoted) Creates a string literal. -
Uses of SMT.Configuration in org.smtlib.logic
Constructors in org.smtlib.logic with parameters of type SMT.ConfigurationModifierConstructorDescriptionALL(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) AUFLIA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) AUFLIRA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) AUFNIRA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) DifferenceLogic(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) LIA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) Logic(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) LRA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_ABV(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_AUFBV(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_AUFLIA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_AX(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_BV(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_EIA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_FP(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_IDL(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_LIA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_LRA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_NIA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_NRA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_RDL(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_UF(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_UFBV(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_UFIDL(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_UFLIA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_UFLRA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) QF_UFNRA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) UFLRA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) UFNIA(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) -
Uses of SMT.Configuration in org.smtlib.sexpr
Fields in org.smtlib.sexpr declared as SMT.ConfigurationModifier and TypeFieldDescriptionprotected final SMT.ConfigurationPrinter.smtConfigThe Configuration whose rules (e.g.Methods in org.smtlib.sexpr that return SMT.ConfigurationModifier and TypeMethodDescriptionParser.smt()Returns a handle to the parent SMTConfig object, in order to see command-line options etc.Methods in org.smtlib.sexpr with parameters of type SMT.ConfigurationModifier and TypeMethodDescriptionFactory.createParser(SMT.Configuration smtConfig, ISource source) Factory.createPrinter(SMT.Configuration smtConfig, Writer w) Factory.createSource(SMT.Configuration smtConfig, File file) Factory.createSource(SMT.Configuration smtConfig, InputStream file, Object location) static voidFactory.initFactories(SMT.Configuration config) This method will initialize the factories and default printer in the configuration with appropriate objects from this implementation; it should be called as part of initial set up of the configuration.static <T extends INode>
voidPrinter.WithLines.write(SMT.Configuration smtConfig, PrintStream w, T e) Writes the given expression to the given stream, following the given Configuration's rules.static <T extends INode>
voidPrinter.WithLines.write(SMT.Configuration smtConfig, Writer w, T e) Writes the given expression to the given writer, following the given Configuration's rules.static <T extends INode>
voidPrinter.write(SMT.Configuration smtConfig, PrintStream w, T e) Writes the given expression to the given stream, following the given Configuration's rules.static <T extends INode>
voidPrinter.write(SMT.Configuration smtConfig, Writer w, T e) Writes the given expression to the given writer, following the given Configuration's rules.Printer.write(SMT.Configuration smtConfig, T e) Writes the given expression and outputs as a String, following the given Configuration's rules (e.g.Constructors in org.smtlib.sexpr with parameters of type SMT.ConfigurationModifierConstructorDescriptionLexer(SMT.Configuration smtConfig, ISource src) Creates a Lexer using an SMT configuration object and a source for charactersParser(SMT.Configuration smtConfig, ISource src) Creates a Parser using an SMT configuration object and a source for characters; ordinarily use a factory to obtain a parser.Printer(SMT.Configuration smtConfig, Writer w) Creates a printer object that follows the given Configuration's rules.WithLines(SMT.Configuration smtConfig, Writer w) Creates a printer object that follows the given Configuration's rules. -
Uses of SMT.Configuration in org.smtlib.solvers
Fields in org.smtlib.solvers declared as SMT.ConfigurationModifier and TypeFieldDescriptionprotected SMT.ConfigurationSolver_test.smtConfigA reference to the configuration used by this SMT instance.Methods in org.smtlib.solvers that return SMT.ConfigurationModifier and TypeMethodDescriptionSolver_test.smt()Returns the reference to the configuration currently in use.Methods in org.smtlib.solvers with parameters of type SMT.ConfigurationModifier and TypeMethodDescriptionstatic <T extends INode>
voidPrinter.write(SMT.Configuration smtConfig, PrintStream w, T e) Writes the given expression to the given stream, following the given Configuration's rules.static <T extends INode>
voidPrinter.write(SMT.Configuration smtConfig, Writer w, T e) Writes the given expression to the given writer, following the given Configuration's rules.Printer.write(SMT.Configuration smtConfig, T e) Writes the given expression and outputs as a String, following the given Configuration's rules.Constructors in org.smtlib.solvers with parameters of type SMT.ConfigurationModifierConstructorDescriptionPrinter(SMT.Configuration smtConfig, Writer w) Creates a printer object that follows the given Configuration's rules.Solver_altergo(SMT.Configuration smtConfig, String executable) Creates an instance of the solverSolver_altergo(SMT.Configuration smtConfig, String[] command) Launches the given command as is (a .command property, #147), without adding the flags the executable form addsSolver_bitwuzla(SMT.Configuration smtConfig, String executable) Creates an instance of the solverSolver_bitwuzla(SMT.Configuration smtConfig, String[] command) Launches the given command as is (a .command property, #147), without adding the flags the executable form addsSolver_cvc5(SMT.Configuration smtConfig, String executable) Creates an instance of the solverSolver_cvc5(SMT.Configuration smtConfig, String[] command) Launches the given command as is (a .command property, #147), without adding the flags the executable form addsSolver_simplify(SMT.Configuration smtConfig, String executable) Constructor with standard signature for invocation through reflectionSolver_simplify(SMT.Configuration smtConfig, String[] command) Launches the given command as is (a .command property, #147), without adding the flags the executable form addsSolver_smt(SMT.Configuration smtConfig, String executable) Creates an instance of the adapterSolver_smt(SMT.Configuration smtConfig, String[] args) Solver_smtinterpol(SMT.Configuration smtConfig, String[] command) Creates an instance of the solver.Solver_test(SMT.Configuration smtConfig, String exec) Constructor for an instance of this test solver class; the second argument is ignored - it is present just for uniformity with other solvers, for which that argument is a path to the relevant executable.Solver_yices2(SMT.Configuration smtConfig, String command) Creates an instance of the yices2 solverSolver_yices2(SMT.Configuration smtConfig, String[] command) Creates an instance of the yices2 solverSolver_yices2_2_6(SMT.Configuration smtConfig, String command) Solver_yices2_2_6(SMT.Configuration smtConfig, String[] command) Solver_z3_4_3(SMT.Configuration smtConfig, String executable) Creates an instance of the Z3 solverSolver_z3_4_3(SMT.Configuration smtConfig, String[] command) Creates an instance of the Z3 solverSolver_z3_4_3_2(SMT.Configuration smtConfig, String executable) Solver_z3_4_3_2(SMT.Configuration smtConfig, String[] command) Launches the given command as is (a .command property, #147), without adding the flags the executable form addsSolver_z3_4_5(SMT.Configuration smtConfig, String executable) Solver_z3_4_5(SMT.Configuration smtConfig, String[] command) Solver_z3_recent(SMT.Configuration smtConfig, String executable) Creates an instance of the solverSolver_z3_recent(SMT.Configuration smtConfig, String[] command) Launches the given command as is (a .command property, #147), without adding the flags the executable form addsTranslator(SMT.Configuration smtConfig) Translator(SMT.Configuration smtConfig, boolean allLogic)