pub struct CoalgebraMap<S: Clone + Eq, O: Clone + Eq> { /* private fields */ }Expand description
A coalgebra map S → O × S represented as an explicit transition table.
Each entry (src, obs, dst) means: when in state src, emit observation
obs and move to state dst.
Implementations§
Source§impl<S: Clone + Eq, O: Clone + Eq> CoalgebraMap<S, O>
impl<S: Clone + Eq, O: Clone + Eq> CoalgebraMap<S, O>
Sourcepub fn add_transition(&mut self, src: S, obs: O, dst: S)
pub fn add_transition(&mut self, src: S, obs: O, dst: S)
Add a transition src --obs--> dst.
Trait Implementations§
Auto Trait Implementations§
impl<S, O> Freeze for CoalgebraMap<S, O>
impl<S, O> RefUnwindSafe for CoalgebraMap<S, O>where
S: RefUnwindSafe,
O: RefUnwindSafe,
impl<S, O> Send for CoalgebraMap<S, O>
impl<S, O> Sync for CoalgebraMap<S, O>
impl<S, O> Unpin for CoalgebraMap<S, O>
impl<S, O> UnsafeUnpin for CoalgebraMap<S, O>
impl<S, O> UnwindSafe for CoalgebraMap<S, O>where
S: UnwindSafe,
O: UnwindSafe,
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