org.openscience.cdk.reaction.IReactionMechanism Maven / Gradle / Ivy
/* Copyright (C) 2008 Miguel Rojas
*
* Contact: [email protected]
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*/
package org.openscience.cdk.reaction;
import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.interfaces.IAtom;
import org.openscience.cdk.interfaces.IAtomContainerSet;
import org.openscience.cdk.interfaces.IBond;
import org.openscience.cdk.interfaces.IReaction;
import java.util.ArrayList;
/**
* Classes that implement this interface are reaction mechanisms.
*
* @author Miguel Rojas
* @cdk.module reaction
* @cdk.githash
*/
public interface IReactionMechanism {
/**
* Initiates the process for the given mechanism. The atoms to apply are mapped between
* reactants and products.
*
*
* @param atomContainerSet
* @param atomList The list of atoms taking part in the mechanism
* @param bondList The list of bonds taking part in the mechanism
* @return The Reaction mechanism
*
* @throws CDKException if an error occurs during the reaction process.
* See documentation for individual reaction processes
*/
public IReaction initiate(IAtomContainerSet atomContainerSet, ArrayList atomList, ArrayList bondList)
throws CDKException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy