public class SharingElectronMechanism extends Object implements IReactionMechanism
This mechanism displaces the charge (lonePair) because of
deficiency of charge.
It returns the reaction mechanism which has been cloned the IAtomContainer
.
This reaction could be represented as [A*]-B| => A=[B*]
Constructor and Description |
---|
SharingElectronMechanism() |
Modifier and Type | Method and Description |
---|---|
IReaction |
initiate(IAtomContainerSet atomContainerSet,
ArrayList<IAtom> atomList,
ArrayList<IBond> bondList)
Initiates the process for the given mechanism.
|
public IReaction initiate(IAtomContainerSet atomContainerSet, ArrayList<IAtom> atomList, ArrayList<IBond> bondList) throws CDKException
initiate
in interface IReactionMechanism
atomContainerSet
- atomList
- The list of atoms taking part in the mechanism. Only allowed two 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 processesCopyright © 2018. All Rights Reserved.