pattern_clustering
Top-level package for Pattern clustering.
Boost C++ functions wrapper. |
|
Console script for pattern_clustering. |
|
|
Computes the language density of an Automaton for a given alphabet. :param g: The Automaton representing the language. :type g: Automaton :param alphabet: A set gathering the characters of the alphabet. You could pass list(pybgl.automaton.alphabet(g)) which computes the smallest valid alphabet in O(num_edges(g)). :type alphabet: set :param n_max: An unsigned int corresponding to the maximum degree used to compute the language density. The greater n_max, the better the accuracy, but the slower the computation. :type n_max: int :param series: Callback(int) -> float returning the coefficient of a monome according to its degree. :type series: callable. |
|
Searches sub-strings of a string matched by multiple patterns. |
|
C++ signature : |