Struct rsmt2::PlainSolver [] [src]

pub struct PlainSolver<'kid, Parser: ParseSmt2 + 'static> { /* fields omitted */ }

Plain solver, as opposed to TeeSolver which logs IOs.

Methods

impl<'kid, Parser: ParseSmt2 + 'static> PlainSolver<'kid, Parser>
[src]

Creates a plain solver.

Wraps a solver to log IOs to a file.

Configuration of the solver.

Trait Implementations

impl<'kid, Parser: ParseSmt2 + 'static> SolverBasic<'kid, Parser> for PlainSolver<'kid, Parser>
[src]

Fetches data.

Applies a function to the writer on the solver's stdin.

Writes comments. Ignored for PlainSolver.

The parser.

The bytes of the buffer.

The plain solver.

impl<'kid, Parser: ParseSmt2 + 'static> SolverPrims<'kid, Parser> for PlainSolver<'kid, Parser>
[src]

Fetchs data, applies a parser (passes the internal parser) and returns its result. Read more

impl<'kid, Parser: ParseSmt2 + 'static> Solver<'kid, Parser> for PlainSolver<'kid, Parser>
[src]

Resets the underlying solver. Restarts the kid process if no reset command is supported. Read more

Sets the logic.

Set option command.

Activates interactive mode.

Activates print success.

Activates unsat core production.

Shuts the solver down.

Pushes n layers on the assertion stack.

Pops n layers off the assertion stack.

Resets the assertions in the solver.

Declares a new sort.

Defines a new sort.

Declares a new function symbol.

Declares a new constant.

Defines a new function symbol.

Defines some new (possibily mutually) recursive functions.

Defines a new recursive function.

Asserts an expression with some print information.

Get info command.

Get option command.

Set info command.

Echo command.

Parse success.

impl<'kid, Parser: ParseSmt2 + 'static> Query<'kid, Parser> for PlainSolver<'kid, Parser>
[src]

Check-sat command.

Parse the result of a check-sat.

Check-sat command.

Get-model command.

Parse the result of a get-model.

Get-model command.

Parse the result of a get-values.

Get-assertions command.

Get-assignment command.

Get-unsat-assumptions command.

Get-proop command.

Get-unsat-core command.

impl<'kid, Parser: ParseSmt2 + 'static, Info, Ident: Sym2Smt<Info>> QueryIdent<'kid, Parser, Info, Ident> for PlainSolver<'kid, Parser>
[src]

Check-sat with assumptions command.

Check-sat assuming command.

impl<'kid, Parser: ParseSmt2 + 'static, Info, Expr: Expr2Smt<Info>> QueryExpr<'kid, Parser, Info, Expr> for PlainSolver<'kid, Parser>
[src]

Get-values command.

impl<'kid, Parser: ParseSmt2 + 'static, Expr: Expr2Smt<Parser::I>> QueryExprInfo<'kid, Parser, Expr> for PlainSolver<'kid, Parser>
[src]

Get-values command.