Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The class org.openscience.cdk.structgen.SingleStructureRandomGenerator
nows seems to be funtional. Run the graphical test org.openscience.cdk.test.SingleStructureRandomGeneratorTest and add more structures to the panel using the "More" button. In order to use this class, use MFAnalyser to get an AtomContainer from a molecular formula string. Assign hydrogen counts to each heavy atom. The hydrogens should not be in the atom pool but should be assigned implicitly to the heavy atoms in order to reduce computational cost. Assign this AtomContainer to the SingleStructureRandomGenerator and retrieve a randomly generated, but correctly bonded Structure by using the generate() method. You can then repeatedly call the generate() method in order to retrieve further structures. git-svn-id: https://cdk.svn.sourceforge.net/svnroot/cdk/trunk/cdk@232 eb4e18e3-b210-0410-a6ab-dec725e4b171
- Loading branch information