You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
Given the similarity between to API elements we now need to find out which API elements of the old API correspond to which API elements of the new API. Multiple functions can be combined to one function (n-to-1 relation), or one function can be split into multiple (1-to-n relation).
Desired solution
Create some function that outputs a mapping of a list of old API elements to a list of new API elements. Each API element should occur at most once. The lists should be sorted by similarity.
The primitive solution would be a list of tuples of lists:
[
(["a", "b"], ["ab"]),
(["c"], ["c"])
]
It might be worth introducing custom classes for the different relations (1-to-1, n-to-1, 1-to-n). This would also allow us to store the similarity measure.