pub struct Determinized<A>(pub A);Expand description
Lazy subset construction for a nondeterministic automaton.
Determinized(a) has states that are sets of a’s states. A deterministic
transition computes all possible underlying transitions and packages the
result as one set.
This generic version uses std::collections::BTreeSet, so it favors
clarity and broad compatibility over raw speed. It is most useful for small
examples, tests, and as a baseline for denser bitset-based variants.
Tuple Fields§
§0: ATrait Implementations§
Source§impl<A> BottomUpTa for Determinized<A>
impl<A> BottomUpTa for Determinized<A>
Source§impl<A: Clone> Clone for Determinized<A>
impl<A: Clone> Clone for Determinized<A>
Source§fn clone(&self) -> Determinized<A>
fn clone(&self) -> Determinized<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<A: Copy> Copy for Determinized<A>
Source§impl<A: Debug> Debug for Determinized<A>
impl<A: Debug> Debug for Determinized<A>
Source§impl<A: Default> Default for Determinized<A>
impl<A: Default> Default for Determinized<A>
Source§fn default() -> Determinized<A>
fn default() -> Determinized<A>
Returns the “default value” for a type. Read more
Source§impl<A> DetBottomUpTa for Determinized<A>
impl<A> DetBottomUpTa for Determinized<A>
impl<A: Eq> Eq for Determinized<A>
Source§impl<A: PartialEq> PartialEq for Determinized<A>
impl<A: PartialEq> PartialEq for Determinized<A>
Source§fn eq(&self, other: &Determinized<A>) -> bool
fn eq(&self, other: &Determinized<A>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<A: PartialEq> StructuralPartialEq for Determinized<A>
Auto Trait Implementations§
impl<A> Freeze for Determinized<A>where
A: Freeze,
impl<A> RefUnwindSafe for Determinized<A>where
A: RefUnwindSafe,
impl<A> Send for Determinized<A>where
A: Send,
impl<A> Sync for Determinized<A>where
A: Sync,
impl<A> Unpin for Determinized<A>where
A: Unpin,
impl<A> UnsafeUnpin for Determinized<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for Determinized<A>where
A: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.