public static IAtomContainerSet partitionIntoMolecules ( IAtomContainer container ) { ConnectedComponents cc = new ConnectedComponents ( GraphUtil . toAdjList ( container ) ) ; return partitionIntoMolecules ( container , cc . components ( ) ) ; }
Partitions the atoms in an AtomContainer into covalently connected components .