toxTree.tree.cramer
Class CramerRules
java.lang.Object
java.util.Observable
toxTree.tree.AbstractTree
toxTree.tree.UserDefinedTree
toxTree.tree.cramer.CramerRules
- All Implemented Interfaces:
- ambit2.core.data.IStructureDiagramHighlights, java.io.Serializable, java.lang.Cloneable, java.util.Observer, org.openscience.cdk.qsar.IDescriptor, org.openscience.cdk.qsar.IMolecularDescriptor, IDecisionInteractive, IDecisionMethod, IDecisionMethodPrority, XMLSerializable
public class CramerRules
- extends UserDefinedTree
An UserDefinedTree
descendant, implementing
the decision tree described in "Cramer G. M., R. A. Ford, R. L. Hall, Estimation of Toxic Hazard - A Decision Tree Approach, J.
Cosmet. Toxicol., Vol.16, pp. 255-276, Pergamon Press, 1978".
Uses all IDecisionRule
rules in toxTree.tree.cramer
package
Assigns categories:
- Version:
- 0.1, 2005-4-30
- Author:
- Nina Jeliazkova
- See Also:
- Serialized Form
Fields inherited from class toxTree.tree.AbstractTree |
categories, changes, explanation, falseIfRuleNotImplemented, imageSize, logger, modified, name, priority, rules, treeRoot, web |
Fields inherited from interface toxTree.core.XMLSerializable |
xmltag_CATEGORIES, xmltag_CATEGORY, xmltag_CATEGORYTHRESHOLD, xmltag_CLASS, xmltag_EXPLANATION, xmltag_ID, xmltag_METHOD, xmltag_METHODPARAMETER, xmltag_METHODS, xmltag_NAME, xmltag_RULE, xmltag_RULEEXAMPLE, xmltag_RULES, xmltag_TREEROOT |
Methods inherited from class toxTree.tree.UserDefinedTree |
calculate, clone, createArrayResult, getBranch, getBranch, getCategory, getCategory, getDescriptorNames, getDescriptorResultType, getInteractive, getListener, getNodesFactory, getOptions, getParameterNames, getParameters, getParameterType, getRule, hasUnreachableRules, hasUnusedCategories, initRules, isEditable, removeListener, setArrayValue, setInteractive, setListener, setNodesFactory, setOptions, setParameters, setParameters, setTransitions, verifyRules, visitCategories, visitRules |
Methods inherited from class toxTree.tree.AbstractTree |
addDecisionRule, classify, clearChanged, equals, fromXML, getCategories, getEditor, getExplanation, getImage, getImage, getImageSize, getLegend, getNumberOfClasses, getNumberOfRules, getPriority, getRule, getRules, getTitle, getTopRule, isFalseIfRuleNotImplemented, isModified, isWeb, optionsPanel, printResults, printToStream, retrieveExplanation, setCategories, setChanged, setDecisionRule, setExplanation, setFalseIfRuleNotImplemented, setImageSize, setModified, setPriority, setRules, setRules, setTitle, setWeb, testRulesWithSelector, toShallowXML, toXML, update, verifyResidues, verifyRules, walkRules, walkRules |
Methods inherited from class java.util.Observable |
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
residuesIDVisible
protected boolean residuesIDVisible
c_rules
public static final transient java.lang.String[] c_rules
CramerRules
public CramerRules()
throws DecisionMethodException
- Throws:
DecisionMethodException
getSpecification
public org.openscience.cdk.qsar.DescriptorSpecification getSpecification()
- Specified by:
getSpecification
in interface org.openscience.cdk.qsar.IDescriptor
- Overrides:
getSpecification
in class UserDefinedTree
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
- Specified by:
addPropertyChangeListener
in interface IDecisionMethod
- Overrides:
addPropertyChangeListener
in class AbstractTree
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
- Specified by:
removePropertyChangeListener
in interface IDecisionMethod
- Overrides:
removePropertyChangeListener
in class AbstractTree
toString
public java.lang.String toString()
- Overrides:
toString
in class UserDefinedTree
getName
public java.lang.String getName()
setName
public void setName(java.lang.String value)
explainRules
public java.lang.StringBuffer explainRules(IDecisionResult result,
boolean verbose)
throws DecisionMethodException
- Specified by:
explainRules
in interface IDecisionMethod
- Overrides:
explainRules
in class AbstractTree
- Throws:
DecisionMethodException
- See Also:
IDecisionMethod.explainRules(IDecisionResult,boolean)
createDecisionResult
public IDecisionResult createDecisionResult()
- Specified by:
createDecisionResult
in interface IDecisionMethod
- Overrides:
createDecisionResult
in class AbstractTree
isResiduesIDVisible
public boolean isResiduesIDVisible()
setResiduesIDVisible
public void setResiduesIDVisible(boolean residuesIDVisible)
setEditable
public void setEditable(boolean value)
- Specified by:
setEditable
in interface IDecisionMethod
- Overrides:
setEditable
in class UserDefinedTree
Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.