// // Copyright (C) 2014 Greg Landrum // Adapted from pseudo-code from Roger Sayle // // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. // #include "roger_canon.h" #include #include #include #include #include #include namespace RDKit { namespace Canon{ void CreateSinglePartition(unsigned int nAtoms, int *order, int *count, canon_atom *atoms) { for( unsigned int i=0; i 1 ) { next[j] = activeset; activeset = j; i += count[j]; } else i++; } while( i < nAtoms ); for( i=0; i &res, bool breakTies, bool includeChirality,bool includeIsotopes) { std::vector atoms(mol.getNumAtoms()); for(unsigned int i=0;i