Struct Framework

Source
pub struct Framework<M: FullMachine> { /* private fields */ }
Expand description

Three-valued abstraction refinement framework.

Implementations§

Source§

impl<M: FullMachine> Framework<M>

Source

pub fn new(abstract_system: M::Abstr, strategy: Strategy) -> Self

Constructs the framework with a given system and strategy.

Source

pub fn verify(&mut self, property: &PreparedProperty) -> Result<bool, ExecError>

Source

pub fn step_verification( &mut self, property: &PreparedProperty, ) -> ControlFlow<Result<bool, ExecError>>

Source

pub fn regenerate(&mut self, from_node_id: NodeId) -> bool

Regenerates the state space from a given node, keeping its other parts. Returns whether the state space changed.

Source

pub fn check_property_with_labelling( &self, property: &PreparedProperty, ) -> Result<(Conclusion, BTreeMap<StateId, ThreeValued>), ExecError>

Source

pub fn find_panic_string(&mut self) -> Option<&'static str>

Source

pub fn reset(&mut self)

Source

pub fn info(&mut self) -> ExecStats

Source

pub fn space(&self) -> &StateSpace<M>

Source

pub fn make_compact(&mut self)

Auto Trait Implementations§

§

impl<M> !Freeze for Framework<M>

§

impl<M> !RefUnwindSafe for Framework<M>

§

impl<M> Send for Framework<M>

§

impl<M> !Sync for Framework<M>

§

impl<M> Unpin for Framework<M>
where <M as FullMachine>::Abstr: Unpin, <<M as FullMachine>::Refin as Machine<M>>::Input: Unpin, <<M as FullMachine>::Refin as Machine<M>>::State: Unpin, <<M as FullMachine>::Abstr as Machine<M>>::Input: Unpin, <<M as FullMachine>::Abstr as Machine<M>>::State: Unpin,

§

impl<M> UnwindSafe for Framework<M>
where <M as FullMachine>::Abstr: UnwindSafe, <<M as FullMachine>::Refin as Machine<M>>::Input: UnwindSafe + RefUnwindSafe, <<M as FullMachine>::Refin as Machine<M>>::State: UnwindSafe + RefUnwindSafe, <<M as FullMachine>::Abstr as Machine<M>>::Input: UnwindSafe, <<M as FullMachine>::Abstr as Machine<M>>::State: UnwindSafe + RefUnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.