maxfuse.utils.list_to_dict

maxfuse.utils.list_to_dict(list_)[source]

Convert list_ to a dict.

Parameters:

list (list of length three) – rows, cols, vals = list_, each element is further a list and each matched pair is (rows[i], cols[i]), and their similarity score is vals[i].

Returns:

  • A dict representing a matching.

  • The structure is {row ([(col1, val1), (col2, val2), …]}.)