pub fn mapping_cost(
query: &MolGraph,
reference: &MolGraph,
mapping: &HashMap<u16, u16>,
) -> i32Expand description
Scores an injective atom map, penalizing unmatched atoms and bonds on both sides, with bonds inferred. As in the original, this scorer does not enforce connectivity or E/Z validity.