亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? isprotoninconjugatedpisystemdescriptor.java

?? 化學圖形處理軟件
?? JAVA
字號:
/* *  $RCSfile$ *  $Author: egonw $ *  $Date: 2007-10-25 11:54:10 +0200 (Thu, 25 Oct 2007) $ *  $Revision: 9202 $ * *  Copyright (C) 2004-2007  The Chemistry Development Kit (CDK) project * *  Contact: cdk-devel@lists.sourceforge.net * *  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.qsar.descriptors.atomic;import org.openscience.cdk.Molecule;import org.openscience.cdk.AtomContainerSet;import org.openscience.cdk.aromaticity.HueckelAromaticityDetector;import org.openscience.cdk.exception.CDKException;import org.openscience.cdk.graph.invariant.ConjugatedPiSystemsDetector;import org.openscience.cdk.interfaces.IAtom;import org.openscience.cdk.interfaces.IAtomContainer;import org.openscience.cdk.qsar.DescriptorSpecification;import org.openscience.cdk.qsar.DescriptorValue;import org.openscience.cdk.qsar.IAtomicDescriptor;import org.openscience.cdk.qsar.result.BooleanResult;/** *  This class evaluates if a proton is joined to a conjugated system. * * <p>This descriptor uses these parameters: * <table> *   <tr> *     <td>Name</td> *     <td>Default</td> *     <td>Description</td> *   </tr> *   <tr> *     <td>checkAromaticity</td> *     <td>false</td> *     <td>True is the aromaticity has to be checked</td> *   </tr> * </table> * * @author      mfe4 * @cdk.created 2004-11-03 * @cdk.module  qsar * @cdk.set     qsar-descriptors * @cdk.dictref qsar-descriptors:isProtonInConjugatedPiSystem */public class IsProtonInConjugatedPiSystemDescriptor  implements IAtomicDescriptor {    private boolean checkAromaticity = false;    private IAtomContainer acold=null;    private AtomContainerSet acSet=null;    /**     *  Constructor for the IsProtonInConjugatedPiSystemDescriptor object     */    public IsProtonInConjugatedPiSystemDescriptor() { }    /**     *  Gets the specification attribute of the     *  IsProtonInConjugatedPiSystemDescriptor object     *     *@return    The specification value     */    public DescriptorSpecification getSpecification() {        return new DescriptorSpecification(            "http://www.blueobelisk.org/ontologies/chemoinformatics-algorithms/#isProtonInConjugatedPiSystem",            this.getClass().getName(),            "$Id: IsProtonInConjugatedPiSystemDescriptor.java 9202 2007-10-25 09:54:10Z egonw $",            "The Chemistry Development Kit");    }    /**     *  Sets the parameters attribute of the IsProtonInConjugatedPiSystemDescriptor     *  object     *     *@param  params            Parameters are an integer (heavy atom position) and a boolean (true if is needed a checkAromaticity)     *@exception  CDKException  Description of the Exception     */    public void setParameters(Object[] params) throws CDKException {        if (params.length > 1) {            throw new CDKException("IsProtonInConjugatedPiSystemDescriptor only expects one parameters");        }        if (!(params[0] instanceof Boolean)) {            throw new CDKException("The parameter must be of type Boolean");        }        checkAromaticity = ((Boolean) params[0]).booleanValue();    }    /**     *  Gets the parameters attribute of the IsProtonInConjugatedPiSystemDescriptor     *  object     *     *@return    The parameters value     */    public Object[] getParameters() {        // return the parameters as used for the descriptor calculation        Object[] params = new Object[1];        params[0] = new Boolean(checkAromaticity);        return params;    }    /**     *  The method is a proton descriptor that evaluates if a proton is joined to a conjugated system.     *     *@param  atom              The IAtom for which the DescriptorValue is requested     *@param  atomContainer              AtomContainer     *@return                   true if the proton is bonded to a conjugated system     *@exception  CDKException  Possible Exceptions     */    public DescriptorValue calculate(IAtom atom, IAtomContainer atomContainer) throws CDKException {        IAtomContainer clonedAtomContainer;        try {            clonedAtomContainer = (IAtomContainer) atomContainer.clone();        } catch (CloneNotSupportedException e) {            throw new CDKException("Error during clone");        }        IAtom clonedAtom = clonedAtomContainer.getAtom(atomContainer.getAtomNumber(atom));                boolean isProtonInPiSystem = false;        Molecule mol = new Molecule(clonedAtomContainer);        if (checkAromaticity) {            HueckelAromaticityDetector.detectAromaticity(mol);        }        IAtom target = atom;        if(target.getSymbol().equals("H")) {        	if(acold!=clonedAtomContainer){        		acold=clonedAtomContainer;        		acSet = ConjugatedPiSystemsDetector.detect(mol);        	}        	java.util.Iterator detected = acSet.atomContainers();        	java.util.List neighboors = mol.getConnectedAtomsList(clonedAtom);        	for (int i = 0; i < neighboors.size(); i++) {        		while(detected.hasNext()) {        			IAtomContainer detectedAC = (IAtomContainer)detected.next();        			if ((detectedAC!= null) && (detectedAC.contains((IAtom)neighboors.get(i)))) {        				isProtonInPiSystem=true;        				break;        			}        		}        	}        }        return new DescriptorValue(getSpecification(), getParameterNames(), getParameters(), new BooleanResult(isProtonInPiSystem));    }    /**     *  Gets the parameterNames attribute of the     *  IsProtonInConjugatedPiSystemDescriptor object     *     *@return    The parameterNames value     */    public String[] getParameterNames() {        String[] params = new String[1];        params[0] = "checkAromaticity";        return params;    }    /**     *  Gets the parameterType attribute of the     *  IsProtonInConjugatedPiSystemDescriptor object     *     *@param  name  Description of the Parameter     *@return       The parameterType value     */    public Object getParameterType(String name) {        return new Boolean(true);    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
ww亚洲ww在线观看国产| 日韩片之四级片| 麻豆精品在线看| 亚洲精品第1页| 亚洲特级片在线| 久久久不卡网国产精品一区| 欧美视频一区二区在线观看| 韩国视频一区二区| 日韩专区一卡二卡| 欧美日韩久久久一区| 中文字幕制服丝袜一区二区三区| 91美女在线看| 国产在线精品免费av| 蜜桃免费网站一区二区三区| 亚洲最大成人综合| 最新不卡av在线| 中文字幕免费不卡在线| 在线不卡a资源高清| 欧美三级在线播放| 91国在线观看| 在线欧美一区二区| 91传媒视频在线播放| 91.xcao| 欧美精品色一区二区三区| 色婷婷亚洲婷婷| 一本大道久久精品懂色aⅴ| av电影在线观看一区| 99精品视频一区| 97久久超碰国产精品电影| jlzzjlzz亚洲日本少妇| www.成人在线| 一本到不卡免费一区二区| 91视频在线看| 精品视频在线看| 日韩三区在线观看| 国产三级精品三级| 五月综合激情网| 精品一区二区精品| 成人午夜精品在线| 欧美在线你懂的| 精品人在线二区三区| 亚洲欧洲综合另类| 亚洲国产视频在线| av电影天堂一区二区在线观看| 国产99久久久国产精品潘金网站| 在线视频你懂得一区二区三区| 91精品国产麻豆| 国产欧美日韩精品一区| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产91精品久久久久久久网曝门| 99九九99九九九视频精品| 91精品国产综合久久精品图片| 久久久蜜臀国产一区二区| 婷婷亚洲久悠悠色悠在线播放| 国产一区91精品张津瑜| 欧美色图在线观看| 久久精品在这里| 激情综合五月婷婷| 日韩一区二区三区在线视频| 亚洲一区二区在线观看视频| 国产成人精品影院| 欧美一区二区视频在线观看2022 | 中文字幕一区二区三区四区| 免费看日韩a级影片| 欧美高清激情brazzers| 一区二区三区精品在线观看| 久久电影网电视剧免费观看| 91美女片黄在线观看| 欧美国产日韩一二三区| 不卡的电影网站| 国产精品麻豆久久久| 国产成人亚洲综合a∨婷婷图片| 日韩一级黄色片| 美女一区二区久久| 欧美一区二区三区在线视频| 免费成人结看片| 欧美肥胖老妇做爰| 五月综合激情网| 欧美一区永久视频免费观看| 五月婷婷综合在线| 欧美午夜宅男影院| 日产欧产美韩系列久久99| 精品日韩成人av| 国产一区二区三区四区在线观看| 国产日韩v精品一区二区| 一个色在线综合| 欧美色爱综合网| 久久99久久久欧美国产| 国产精品国产三级国产aⅴ入口| 成人激情视频网站| 日韩精品视频网| 中文字幕一区二区三区在线播放 | 中文字幕精品综合| 欧美揉bbbbb揉bbbbb| 亚洲精品国产第一综合99久久| 欧美日韩一级视频| 国产精品自拍在线| 国产精品沙发午睡系列990531| a亚洲天堂av| 国产高清成人在线| 亚洲视频在线观看一区| 91久久线看在观草草青青| 精品一区二区三区在线观看国产| 中日韩免费视频中文字幕| 欧美成人一区二区三区在线观看| 成人午夜av影视| 国产精品一区二区免费不卡| 亚洲国产va精品久久久不卡综合| 欧美精品一区二区高清在线观看| 色美美综合视频| a4yy欧美一区二区三区| 国产一区二区美女诱惑| 一区二区三区四区在线播放| 国产亚洲自拍一区| 精品av综合导航| 日韩精品一区二区三区四区视频| 欧美年轻男男videosbes| 91国偷自产一区二区三区成为亚洲经典 | 欧美精品一区二区三区高清aⅴ| 91成人国产精品| 色婷婷亚洲综合| 欧美三级韩国三级日本三斤| 91丨九色丨蝌蚪丨老版| 国产成人8x视频一区二区| 国产91在线观看丝袜| 国产成人在线免费| 国产在线日韩欧美| 国产乱码精品一区二区三区五月婷| 国产乱码精品一区二区三| 国产一区不卡视频| 成人伦理片在线| 日本韩国欧美国产| 在线观看91av| 欧美激情综合五月色丁香| 蜜臀av一级做a爰片久久| 五月天久久比比资源色| 亚洲成a人v欧美综合天堂下载| 日本欧美一区二区| 风间由美一区二区三区在线观看 | 香蕉久久一区二区不卡无毒影院| 精品国产亚洲一区二区三区在线观看| 精品国精品国产尤物美女| 亚洲欧洲精品天堂一级| 一个色在线综合| 免费xxxx性欧美18vr| 国模大尺度一区二区三区| 蜜桃一区二区三区在线观看| 国产一区二区三区电影在线观看| 成人一级视频在线观看| 欧美一区二区三区免费观看视频| 久久久三级国产网站| 亚洲宅男天堂在线观看无病毒| 麻豆久久久久久| 欧美色爱综合网| 国产午夜精品久久久久久久| 最新不卡av在线| 国产91在线观看| 日韩视频在线一区二区| 国产精品视频在线看| 精品一区二区三区av| 欧美日韩美少妇| 亚洲小说欧美激情另类| www.99精品| 中文字幕久久午夜不卡| 蜜桃av一区二区在线观看| 色妹子一区二区| 亚洲欧美一区二区三区久本道91| 国产sm精品调教视频网站| 久久理论电影网| 国产原创一区二区三区| 日韩欧美国产系列| 久久66热偷产精品| 欧美成人在线直播| 日本不卡一区二区| 在线看不卡av| 午夜久久久影院| 日韩一区二区三区精品视频 | 国产裸体歌舞团一区二区| 在线观看av不卡| 亚洲bdsm女犯bdsm网站| 日本高清成人免费播放| 亚洲一区二区三区四区在线| 97se亚洲国产综合在线| 一级特黄大欧美久久久| 日本韩国欧美在线| 免费高清在线一区| 国产欧美日本一区视频| jizz一区二区| 午夜精品久久久久影视| 欧美r级电影在线观看| 懂色av噜噜一区二区三区av| 国产精品理论片在线观看| 国产91对白在线观看九色| 最新国产成人在线观看| 欧美日韩五月天| 国产999精品久久| 视频一区二区不卡| 欧美高清在线一区| 欧美日韩三级一区| 久久精品国产久精国产爱|