MCPcopy Create free account
hub / github.com/microsoft/JARVIS / matching

Function matching

taskbench/evaluate.py:60–62  ·  view source on GitHub ↗
(graph_1, graph_2)

Source from the content-addressed store, hash-verified

58 return row_ind, col_ind, cost_matrix[row_ind, col_ind].sum()
59
60def matching(graph_1, graph_2):
61 indices_1, indices_2, total_cost = compute_assignment_matrix(graph_1, graph_2)
62 return indices_1, indices_2
63
64def ratio_levenshtein(x, y):
65 assert len(x) == len(y)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected