compute_interaction_list_map

Function compute_interaction_list_map 

Source
pub fn compute_interaction_list_map(
    all_keys: &HashSet<usize>,
) -> HashMap<usize, HashSet<usize>>
Expand description

Given the set of all keys, compute the interaction list for each key.

Returns a map from keys to the corresponding interaction list, represented by a set of keys.