[][src]Struct rustfst::algorithms::rm_epsilon::RmEpsilonConfig

pub struct RmEpsilonConfig<W: Semiring, Q: Queue> {
    pub sd_opts: ShortestDistanceConfig<W, Q, EpsilonTrFilter>,
    pub connect: bool,
    pub weight_threshold: W,
    pub state_threshold: Option<StateId>,
}

Fields

sd_opts: ShortestDistanceConfig<W, Q, EpsilonTrFilter>connect: boolweight_threshold: Wstate_threshold: Option<StateId>

Implementations

impl<W: Semiring, Q: Queue> RmEpsilonConfig<W, Q>[src]

pub fn new(
    queue: Q,
    connect: bool,
    weight_threshold: W,
    state_threshold: Option<StateId>
) -> Self
[src]

pub fn new_with_default(queue: Q) -> Self[src]

Auto Trait Implementations

impl<W, Q> RefUnwindSafe for RmEpsilonConfig<W, Q> where
    Q: RefUnwindSafe,
    W: RefUnwindSafe

impl<W, Q> Send for RmEpsilonConfig<W, Q> where
    Q: Send,
    W: Send

impl<W, Q> Sync for RmEpsilonConfig<W, Q> where
    Q: Sync

impl<W, Q> Unpin for RmEpsilonConfig<W, Q> where
    Q: Unpin,
    W: Unpin

impl<W, Q> UnwindSafe for RmEpsilonConfig<W, Q> where
    Q: UnwindSafe,
    W: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.