OEExactGraphMatch

bool OEExactGraphMatch(const OEMolBase &mol1, const OEMolBase &mol2)

Determines whether two molecules, ‘mol1’ and ‘mol2’, have exactly the same graph. This function effectively compares the canonical SMILES of both molecules (created by OECreateCanSmiString) using string equality.