register_matching_exhaustive#
- register_matching_exhaustive(matching, matching_setup, matching_scoring, memory_class)[source]#
Registers a new matching scheme.
- Parameters:
- matchingstr
Name of the matching method.
- matching_setupCallable
Corresponding setup function.
- matching_scoringCallable
Corresponing scoring function.
- memory_classMatchingMemoryUsage
Child of
tme.memory.MatchingMemoryUsage
.
- Raises:
- ValueError
If a function with the name
matching
already exists in the registry, or ifmemory_class
is no child oftme.memory.MatchingMemoryUsage
.