Sha256: d0c8e1cfd5d2d2e0273d07a9ddac4860c296da922d6fd1a636ef3bf4f394b9cf

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

/*
Copyright Ideaconsult Ltd.(C) 2006-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 sicret.rules;
import toxTree.tree.rules.RuleVerifyProperty;

/**
 * MeltingPoint < 200. Expects property to be read from IMolecule.getProperty({@link #MeltingPoint}).
 * @author Nina Jeliazkova nina@acad.bg
 * @author Martin Martinov
 * <b>Modified</b> July 30, 2011
 */

public class RuleMeltingPoint extends RuleVerifyProperty {
	private static final long serialVersionUID = 0;
	public static String MeltingPoint = "Melting Point";
	public RuleMeltingPoint(String propertyName, String units, String condition, double value) {
		super(propertyName,units,condition,value);
		id = "1";
	}	
	
	public RuleMeltingPoint()
	{
		this(MeltingPoint,"\u2103",condition_higher,200.0);
		id = "1";
		examples[0] = "CC1(C(CC=C1C)C=CC(C)(C)C(O)C)C";
		examples[1] = "CCOC(=O)N1CCN(CC1)c2ccc(cc2)OCC4COC(Cn3cncc3)(O4)c5ccc(Cl)cc5Cl";

		
		examples[0]= "CC1(C(CC=C1C)C=CC(C)(C)C(O)C)C";
		propertyExamples[0] = 63.639511;
		examples[1] = "CCOC(=O)N1CCN(CC1)c2ccc(cc2)OCC4COC(Cn3cncc3)(O4)c5ccc(Cl)cc5Cl";
		propertyExamples[1] =    290.264832;		

	}


}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toxtree-0.0.1 Toxtree-v2.6.13/src/sicret/rules/RuleMeltingPoint.java