Skip to main content

reference_generators

Function reference_generators 

Source
pub fn reference_generators(mol: &MolGraph) -> Vec<Vec<u16>>
Expand description

Atom-permutation generators of mol’s automorphism group, via Canonaut on the atom–bond incidence graph. Atom vertices are colored by (element, charge, radical) and bond vertices by (order, aromatic), so every generator preserves exactly the features cost_mapping_with_generators checks. Generators are projected onto atom vertices.