Package org.smtlib
Interface ICommand.IFactory
- All Known Implementing Classes:
Factory
- Enclosing interface:
ICommand
public static interface ICommand.IFactory
This is the interface to be used by a concrete ICommand factory.
-
Method Summary
Modifier and TypeMethodDescriptionassertCommand(IExpr expr) Creates an assert command object, asserting the given expression.Creates a check-sat command object.check_sat_assuming(List<IExpr> terms) Creates a check-sat-assuming command object.Creates a comment pseudo-command object, carrying the given raw comment text (seeICommand.Icomment).declare_const(IExpr.ISymbol symbol, ISort resultSort) Creates a declare-const command object.Creates a declare-datatype command object.declare_datatypes(List<IExpr.ISortDeclaration> sds, List<ISort.IDatatype> dts) Creates a declare-datatypes command object.declare_fun(IExpr.ISymbol id, List<ISort> argSorts, ISort resultSort) Creates a declare-fun command object.declare_sort(IExpr.ISymbol sym, IExpr.INumeral arity) Creates a declare-sort command object.Creates a declare-sort-parameter command object.define_const(IExpr.ISymbol symbol, ISort resultSort, IExpr expression) Creates a define-const command object.define_fun(IExpr.ISymbol id, List<IExpr.IDeclaration> declarations, ISort resultSort, IExpr expression) Creates a define-fun command object.define_fun_rec(IExpr.ISymbol id, List<IExpr.IDeclaration> declarations, ISort resultSort, IExpr expression) Creates a define-fun-rec command object.define_funs_rec(List<IExpr.IFunctionDeclaration> declarations, List<IExpr> bodies) Creates a define-funs-rec command object.define_sort(IExpr.ISymbol id, List<ISort.IParameter> parameters, ISort expression) Creates a define-sort command object.echo(IExpr.IStringLiteral arg) Creates an echo command object.exit()Creates an exit command object.Creates a get-assertions command object.Creates a get-assignment command object.get_info(IExpr.IKeyword infoflag) Creates a get-info command object.Creates a get-model command object.get_option(IExpr.IKeyword option) Creates a get-option command object.Creates a get-proof command object.Creates a get-unsat-assumptions command object.Creates a get-unsat-core command object.Creates a get-value command object.pop(IExpr.INumeral number) Creates a pop command object.push(IExpr.INumeral number) Creates a push command object.reset()Creates a reset command object.Creates a reset-assertions command object.script()Creates an empty script, with no filename and no commands, ready to have commands added viaICommand.IScript.add(ICommand).script(IExpr.IStringLiteral filename, List<ICommand> commands) Creates a script object containing the given filename or the given set of commands.set_info(IExpr.IKeyword infoflag, IAttributeValue value) Creates a set-info command object.set_logic(IExpr.ISymbol logic) Creates a set-logic command object.set_option(IExpr.IKeyword option, IAttributeValue value) Creates a set-option command object.
-
Method Details
-
script
ICommand.IScript script()Creates an empty script, with no filename and no commands, ready to have commands added viaICommand.IScript.add(ICommand). -
script
Creates a script object containing the given filename or the given set of commands. -
assertCommand
Creates an assert command object, asserting the given expression. -
check_sat
ICommand.Icheck_sat check_sat()Creates a check-sat command object. -
check_sat_assuming
Creates a check-sat-assuming command object. -
comment
Creates a comment pseudo-command object, carrying the given raw comment text (seeICommand.Icomment). -
declare_const
Creates a declare-const command object. -
declare_fun
Creates a declare-fun command object. -
declare_sort
Creates a declare-sort command object. -
declare_sort_parameter
Creates a declare-sort-parameter command object. -
declare_datatype
Creates a declare-datatype command object. -
declare_datatypes
ICommand.Ideclare_datatypes declare_datatypes(List<IExpr.ISortDeclaration> sds, List<ISort.IDatatype> dts) Creates a declare-datatypes command object. -
define_const
Creates a define-const command object. -
define_fun
ICommand.Idefine_fun define_fun(IExpr.ISymbol id, List<IExpr.IDeclaration> declarations, ISort resultSort, IExpr expression) Creates a define-fun command object. -
define_fun_rec
ICommand.Idefine_fun_rec define_fun_rec(IExpr.ISymbol id, List<IExpr.IDeclaration> declarations, ISort resultSort, IExpr expression) Creates a define-fun-rec command object. -
define_funs_rec
ICommand.Idefine_funs_rec define_funs_rec(List<IExpr.IFunctionDeclaration> declarations, List<IExpr> bodies) Creates a define-funs-rec command object. -
define_sort
ICommand.Idefine_sort define_sort(IExpr.ISymbol id, List<ISort.IParameter> parameters, ISort expression) Creates a define-sort command object. -
echo
Creates an echo command object. -
exit
ICommand.Iexit exit()Creates an exit command object. -
get_assertions
ICommand.Iget_assertions get_assertions()Creates a get-assertions command object. -
get_assignment
ICommand.Iget_assignment get_assignment()Creates a get-assignment command object. -
get_info
Creates a get-info command object. -
get_option
Creates a get-option command object. -
get_model
ICommand.Iget_model get_model()Creates a get-model command object. -
get_proof
ICommand.Iget_proof get_proof()Creates a get-proof command object. -
get_unsat_assumptions
ICommand.Iget_unsat_assumptions get_unsat_assumptions()Creates a get-unsat-assumptions command object. -
get_unsat_core
ICommand.Iget_unsat_core get_unsat_core()Creates a get-unsat-core command object. -
get_value
Creates a get-value command object. -
push
Creates a push command object. -
pop
Creates a pop command object. -
reset
ICommand.Ireset reset()Creates a reset command object. -
reset_assertions
ICommand.Ireset_assertions reset_assertions()Creates a reset-assertions command object. -
set_logic
Creates a set-logic command object. -
set_info
Creates a set-info command object. -
set_option
Creates a set-option command object.
-