pub struct MtlOracle { /* private fields */ }Expand description
An oracle for (simple) Mtl properties.
Currently limited to properties of the form p U q.
Implementations§
Trait Implementations§
Source§impl Oracle for MtlOracle
impl Oracle for MtlOracle
Source§fn update_state(&mut self, state: &[bool])
fn update_state(&mut self, state: &[bool])
Update the internal state of the
Oracle with the latest state of a temporal trace.Source§fn output_assumes(&self) -> impl Iterator<Item = Option<bool>>
fn output_assumes(&self) -> impl Iterator<Item = Option<bool>>
Returns the values of the “assume” properties,
if already determined.
Source§fn output_guarantees(&self) -> impl Iterator<Item = Option<bool>>
fn output_guarantees(&self) -> impl Iterator<Item = Option<bool>>
Returns the values of the “guarantee” properties,
if already determined.
Source§fn final_output_assumes(&self) -> impl Iterator<Item = bool>
fn final_output_assumes(&self) -> impl Iterator<Item = bool>
As the trace ends, the values of the “assume” properties is determined to be either true or false.
Source§fn final_output_guarantees(&self) -> impl Iterator<Item = bool>
fn final_output_guarantees(&self) -> impl Iterator<Item = bool>
As the trace ends, the values of the “guarantee” properties is determined to be either true or false.
Source§fn update_time(&mut self, time: Time)
fn update_time(&mut self, time: Time)
Update the internal state of the
Oracle with the latest state of a temporal trace.Auto Trait Implementations§
impl Freeze for MtlOracle
impl RefUnwindSafe for MtlOracle
impl Send for MtlOracle
impl Sync for MtlOracle
impl Unpin for MtlOracle
impl UnsafeUnpin for MtlOracle
impl UnwindSafe for MtlOracle
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