pub struct SMTBddContext {
pub(crate) smt_solver_builder: SMTSolverBuilder,
pub(crate) bdd_manager: BDDManager,
}Expand description
Simple context for model checkers containing SMT solver and BDD manager
Fields§
§smt_solver_builder: SMTSolverBuilderBuilder to construct new SMT solvers.
bdd_manager: BDDManagerThe BDD manager to use for the model checking.
Implementations§
Source§impl SMTBddContext
impl SMTBddContext
Sourcepub fn smt_solver_builder(&self) -> &SMTSolverBuilder
pub fn smt_solver_builder(&self) -> &SMTSolverBuilder
returns the smt_solver_builder
Sourcepub fn bdd_manager(&self) -> &BDDManager
pub fn bdd_manager(&self) -> &BDDManager
returns the bdd_manager
Trait Implementations§
Source§impl Clone for SMTBddContext
impl Clone for SMTBddContext
Source§fn clone(&self) -> SMTBddContext
fn clone(&self) -> SMTBddContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SMTBddContext
impl Debug for SMTBddContext
Source§impl ModelCheckerContext for SMTBddContext
impl ModelCheckerContext for SMTBddContext
Source§type CreationError = SMTSolverBuilderError
type CreationError = SMTSolverBuilderError
Possible error that can occur during creation of the context
Source§type ContextOptions = (Option<SMTSolverBuilderCfg>, Option<BDDManagerConfig>)
type ContextOptions = (Option<SMTSolverBuilderCfg>, Option<BDDManagerConfig>)
Options for the model checker context
Source§fn try_new(
opt: Option<Self::ContextOptions>,
) -> Result<Self, Self::CreationError>
fn try_new( opt: Option<Self::ContextOptions>, ) -> Result<Self, Self::CreationError>
Create a new model checking context Read more
Source§impl ProvidesSMTSolverBuilder for SMTBddContext
impl ProvidesSMTSolverBuilder for SMTBddContext
Source§fn get_solver_builder(&self) -> SMTSolverBuilder
fn get_solver_builder(&self) -> SMTSolverBuilder
Get the configured [
SMTSolverBuilder]Auto Trait Implementations§
impl Freeze for SMTBddContext
impl !RefUnwindSafe for SMTBddContext
impl !Send for SMTBddContext
impl !Sync for SMTBddContext
impl Unpin for SMTBddContext
impl !UnwindSafe for SMTBddContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more