@TestClass(value="org.openscience.cdk.reaction.mechanism.AdductionPBMechanismTest") public class AdductionPBMechanism extends Object implements IReactionMechanism
This mechanism adduct together two fragments due to a double bond. The second fragment will be deficient in charge. It returns the reaction mechanism which has been cloned the IMolecule.
This reaction could be represented as A=B + [C+] => [A+]-B-C
Constructor and Description |
---|
AdductionPBMechanism() |
@TestMethod(value="testInitiate_IMoleculeSet_ArrayList_ArrayList") public IReaction initiate(IMoleculeSet moleculeSet, ArrayList<IAtom> atomList, ArrayList<IBond> bondList) throws CDKException
initiate
in interface IReactionMechanism
moleculeSet
- The IMolecule to apply the mechanismatomList
- The list of atoms taking part in the mechanism. Only allowed three atomsbondList
- The list of bonds taking part in the mechanism. Only allowed one bondCDKException
- if an error occurs during the reaction process.
See documentation for individual reaction processes