public class CramerRulesWithExtensions extends UserDefinedTree
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". IDecisionRule rules in cramer2 package
Assigns categories:
IDecisionInteractive.UserOptions| Modifier and Type | Field and Description |
|---|---|
static String[] |
c_rules |
protected boolean |
residuesIDVisible |
editable, listener, nodesFactory, optionscategories, changes, explanation, falseIfRuleNotImplemented, imageSize, logger, modified, name, priority, rules, treeRoot, webxmltag_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| Constructor and Description |
|---|
CramerRulesWithExtensions() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l) |
IDecisionResult |
createDecisionResult() |
StringBuffer |
explainRules(IDecisionResult result,
boolean verbose) |
String |
getName() |
org.openscience.cdk.qsar.DescriptorSpecification |
getSpecification() |
boolean |
isResiduesIDVisible() |
void |
removePropertyChangeListener(PropertyChangeListener l) |
void |
setEditable(boolean value) |
void |
setName(String value) |
void |
setResiduesIDVisible(boolean residuesIDVisible) |
String |
toString() |
calculate, clone, close, createArrayResult, getBranch, getBranch, getCategory, getCategory, getDescriptorNames, getDescriptorResultType, getID, getInteractive, getListener, getNodesFactory, getOptions, getParameterNames, getParameters, getParameterType, getRule, hasUnreachableRules, hasUnusedCategories, initialise, initRules, isEditable, isEnabled, open, process, removeListener, setArrayValue, setEnabled, setInteractive, setListener, setNodesFactory, setOptions, setParameters, setParameters, setTransitions, verifyRules, visitCategories, visitRulesaddDecisionRule, 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, walkRulesaddObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObserversprotected boolean residuesIDVisible
public static final transient String[] c_rules
public CramerRulesWithExtensions()
throws DecisionMethodException
DecisionMethodExceptionpublic void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener in interface IDecisionMethodaddPropertyChangeListener in class AbstractTreepublic void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener in interface IDecisionMethodremovePropertyChangeListener in class AbstractTreepublic String toString()
toString in class UserDefinedTreepublic String getName()
public void setName(String value)
public StringBuffer explainRules(IDecisionResult result, boolean verbose) throws DecisionMethodException
explainRules in interface IDecisionMethodexplainRules in class AbstractTreeDecisionMethodExceptionIDecisionMethod.explainRules(IDecisionResult,boolean)public IDecisionResult createDecisionResult()
createDecisionResult in interface IDecisionMethodcreateDecisionResult in class AbstractTreepublic boolean isResiduesIDVisible()
public void setResiduesIDVisible(boolean residuesIDVisible)
public void setEditable(boolean value)
setEditable in interface IDecisionMethodsetEditable in class UserDefinedTreepublic org.openscience.cdk.qsar.DescriptorSpecification getSpecification()
getSpecification in interface org.openscience.cdk.qsar.IDescriptorgetSpecification in class UserDefinedTreeCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.