@TestClass(value="org.openscience.cdk.reaction.mechanism.AdductionLPMechanismTest") public class AdductionLPMechanism extends Object implements IReactionMechanism
This mechanism adduct together two fragments. 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+] => A-B
Constructor and Description |
---|
AdductionLPMechanism() |
@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 two atoms.bondList
- The list of bonds taking part in the mechanism. not allowed bonds.CDKException
- if an error occurs during the reaction process.
See documentation for individual reaction processes