Function rustfst::algorithms::shortest_distance_with_config
source · pub fn shortest_distance_with_config<W: Semiring, F: ExpandedFst<W>>(
fst: &F,
reverse: bool,
config: ShortestDistanceConfig
) -> Result<Vec<W>>
Expand description
Compute the shortest distance from the initial state to every state, with configurable delta for comparison.