pattern_clustering.pattern_automaton.pattern_automaton_to_path
- pattern_automaton_to_path(g: PatternAutomaton, **kwargs) list[source]
Computes the path having the lowest density (and hence describing the best pattern-based decomposition) of an input
PatternAutomaton.- Parameters
g (PatternAutomaton) – The queried
PatternAutomatoninstance.- Returns
The path minimizing the density.