Class MorganNumbersTools

    • Constructor Detail

      • MorganNumbersTools

        public MorganNumbersTools()
    • Method Detail

      • getMorganNumbers

        public static long[] getMorganNumbers​(IAtomContainer molecule)
        Makes an array containing the morgan numbers of the atoms of atomContainer. These number are the extended connectivity values and not the lexicographic smallest labelling on the graph.
        Parameters:
        molecule - the molecule to analyse.
        Returns:
        The morgan numbers value.
      • getMorganNumbersWithElementSymbol

        public static String[] getMorganNumbersWithElementSymbol​(IAtomContainer atomContainer)
        Makes an array containing the morgan numbers+element symbol of the atoms of atomContainer. This method puts the element symbol before the morgan number, useful for finding out how many different rests are connected to an atom.
        Parameters:
        atomContainer - The atomContainer to analyse.
        Returns:
        The morgan numbers value.