match#
- HungarianMatcher.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_orderwith 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 familyj; identical families are ordered by the hook.- Тип результата:
UnivariateIntArray
- Исключение:
ValueError – If
_matchdid not return a permutation of0…k-1; the message contains the returned value.