match#

final Matcher.match(table)[исходный код]#

Match clusters to families and order identical families.

The template method calls _match, checks that it returned a permutation, and then calls the hook _order with the result as an integer array. It must not be overridden; type checkers flag an override.

Параметры:

table (ComponentTable) – Everything the matcher may ask about the pairs of families and clusters.

Результат:

Permutation where assignment[j] is the cluster of family j; identical families are ordered by the hook.

Тип результата:

UnivariateIntArray

Исключение:

ValueError – If _match did not return a permutation of 0…k-1; the message contains the returned value.