[][src]Function rustfst::check_path_in_fst

pub fn check_path_in_fst<W: Semiring, F: Fst<W>>(
    fst: &F,
    fst_path: &FstPath<W>
) -> bool

Check if a FstPath can be generated by the given Fst.

Be careful with this function, it will loop forever if the path is not present in the Fst and the Fst is cyclic.