Sha256: d488cdeff7361193f3031c38da78cc34cbc5b53835b9518a2a417d9531c49572

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

/*
Copyright Nina Jeliazkova (C) 2005-2011  
Contact: jeliazkova.nina@gmail.com

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
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 General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

*/
package verhaar.rules;

import verhaar.rules.helper.RuleElementsCounter;



/**
 * 
 * Contain only C,H and halogen.
 * @author Nina Jeliazkova jeliazkova.nina@gmail.com
 * <b>Modified</b> July 12, 2011
 */
public class Rule14 extends RuleElementsCounter {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5751606276335590438L;

	public Rule14() {
		super();
		setComparisonMode(modeAllSpecifiedElements);
		addElement("C");
		addElement("H");
		addElement("F");
		addElement("Br");
		addElement("I");
		addElement("Cl");
		id = "1.4";
		setTitle("Contain only C,H and halogen");
		examples[0] = "COc1cccc(c1(O))C3C(C)C(Oc2cc4OCOc4(cc23))N5CCCCC5";
		examples[1] = "CCCCCCCCCCCl";
		setExplanation("Contain only C,H and halogen");
		editable = false;
	}

}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toxtree-0.0.1 Toxtree-v2.6.13/src/verhaar/rules/Rule14.java