Package org.smtlib
Interface IResponse
- All Superinterfaces:
INode
- All Known Subinterfaces:
IAttributeValue,IExpr,IExpr.IAsIdentifier,IExpr.IAttribute<TT>,IExpr.IAttributedExpr,IExpr.IBinaryLiteral,IExpr.IDecimal,IExpr.IError,IExpr.IExists,IExpr.IFcnExpr,IExpr.IForall,IExpr.IHexLiteral,IExpr.IIdentifier,IExpr.IIndex,IExpr.ILambda,IExpr.ILet,IExpr.ILiteral,IExpr.IMatch,IExpr.INumeral,IExpr.IParameterizedIdentifier,IExpr.IPatternTerms,IExpr.IQualifiedIdentifier,IExpr.IStringLiteral,IExpr.ISymbol,IResponse.IAssertionsResponse,IResponse.IAssignmentResponse,IResponse.IAttributeList,IResponse.IError,IResponse.IProofResponse,IResponse.IUnsatAssumptionsResponse,IResponse.IUnsatCoreResponse,IResponse.IValueResponse,ISexpr,ISexpr.ISeq,ISexpr.IToken<T>
- All Known Implementing Classes:
AbstractSolver.Pending,Pos.AbstractExpr,Response.AssertionsResponse,Response.AssignmentResponse,Response.Error,Response.ProofResponse,Response.Seq,Response.UnsatAssumptionsResponse,Response.UnsatCoreResponse,Response.ValueResponse,Sexpr,Sexpr.Seq,Sexpr.Token,SMTExpr,SMTExpr.AsIdentifier,SMTExpr.Attribute,SMTExpr.AttributedExpr,SMTExpr.BinaryLiteral,SMTExpr.Decimal,SMTExpr.Error,SMTExpr.Exists,SMTExpr.FcnExpr,SMTExpr.Forall,SMTExpr.HexLiteral,SMTExpr.Lambda,SMTExpr.Let,SMTExpr.Literal,SMTExpr.Match,SMTExpr.Numeral,SMTExpr.ParameterizedIdentifier,SMTExpr.PatternTerms,SMTExpr.StringLiteral,SMTExpr.Symbol
This interface represents responses that can be received from SMT-LIB commands.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceResponse type for get-assertions, carrying the list of currently asserted formulae.static interfaceResponse type for get-assignment, carrying a list of name-Boolean pairs.static interfaceResponse type for get-info, carrying a list of attribute key-value pairs.static interfaceThe interface for error responsesstatic interfaceThe factory interface for creating the standard IResponse singleton and structured instances.static interfaceAn interface for simple pairs of objects; used to represent value/assignment response itemsstatic interfaceResponse type for get-proof.static interfaceResponse type for get-unsat-assumptions, carrying the assumptions (terms, e.g.static interfaceResponse type for get-unsat-core, carrying the names of the formulae in the unsat core.static interfaceResponse type for get-value, carrying a list of expression-value pairs. -
Method Summary
-
Method Details
-
isOK
boolean isOK()Returns true if the response is a SUCCESS response -
isError
boolean isError()Returns true if the response is an error response
-