public class RadicalSiteHrGammaReaction extends ReactionEngine implements IReactionProcess
This reaction could be represented as [A*]-C1-C2-C3[H] => A([H])-C1-C2-[C3*]. Due to the single electron of atom A the proton is moved.
It is processed by the RadicalSiteRearrangementMechanism class
IAtomContainerSet setOfReactants = DefaultChemObjectBuilder.getInstance().newAtomContainerSet(); setOfReactants.addAtomContainer(new AtomContainer()); IReactionProcess type = new RadicalSiteHrGammaReaction(); Object[] params = {Boolean.FALSE}; type.setParameters(params); IReactionSet setOfReactions = type.initiate(setOfReactants, null);
We have the possibility to localize the reactive center. Good method if you want to localize the reaction in a fixed point
atoms[0].setFlag(CDKConstants.REACTIVE_CENTER,true);
Moreover you must put the parameter Boolean.TRUE
If the reactive center is not localized then the reaction process will try to find automatically the possible reactive center.
The rearrangements are not possible with the atomtype is inside of a ring
RadicalSiteRearrangementMechanism
mechanism, paramsMap, paramsMap2
Constructor and Description |
---|
RadicalSiteHrGammaReaction()
Constructor of the RadicalSiteHrGammaReaction object
|
Modifier and Type | Method and Description |
---|---|
ReactionSpecification |
getSpecification()
Gets the specification attribute of the RadicalSiteHrGammaReaction object
|
IReactionSet |
initiate(IAtomContainerSet reactants,
IAtomContainerSet agents)
Initiate process.
|
getParameterClass, getParameterList, setParameterList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParameterClass, getParameterList, setParameterList
public RadicalSiteHrGammaReaction()
public ReactionSpecification getSpecification()
getSpecification
in interface IReactionProcess
public IReactionSet initiate(IAtomContainerSet reactants, IAtomContainerSet agents) throws CDKException
initiate
in interface IReactionProcess
reactants
- reactants of the reaction.agents
- agents of the reaction (Must be in this case null).CDKException
- Description of the ExceptionCopyright © 2021. All rights reserved.