Trait FstOp2

Source
pub trait FstOp2<W: Semiring>: Debug {
    // Required methods
    fn compute_start(&self) -> Result<Option<StateId>>;
    fn compute_trs_and_final_weight(
        &self,
        id: StateId,
    ) -> Result<(TrsVec<W>, Option<W>)>;
    fn properties(&self) -> FstProperties;
}

Required Methods§

Implementors§

Source§

impl<W: Semiring, F: FstOp2<W>, FP: Deref<Target = F> + Debug> FstOp2<W> for FP