struct Ctx<'a> {
bn: &'a BooleanNetwork,
encoder: &'a BddParameterEncoder,
}
Fields
bn: &'a BooleanNetwork
encoder: &'a BddParameterEncoder
Implementations
sourceimpl<'a> Ctx<'a>
impl<'a> Ctx<'a>
pub fn new(bn: &'a BooleanNetwork, encoder: &'a BddParameterEncoder) -> Ctx<'a>
sourcepub fn pair_explicit(
&self,
states: (IdState, IdState),
fun: &'a FnUpdate
) -> (Bdd, Bdd)
pub fn pair_explicit(
&self,
states: (IdState, IdState),
fun: &'a FnUpdate
) -> (Bdd, Bdd)
Transform a table pair into pair of Bdd
s assuming an update function is known.
sourcepub fn pair_implicit(
&self,
states: (IdState, IdState),
variable: VariableId
) -> (Bdd, Bdd)
pub fn pair_implicit(
&self,
states: (IdState, IdState),
variable: VariableId
) -> (Bdd, Bdd)
Transform a table pair into a pair of Bdd
s assuming an implicit update function.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Ctx<'a>
impl<'a> Send for Ctx<'a>
impl<'a> Sync for Ctx<'a>
impl<'a> Unpin for Ctx<'a>
impl<'a> UnwindSafe for Ctx<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more