toxtree.plugins.smartcyp
Class SMARTCypTreeResult

java.lang.Object
  extended by toxTree.tree.TreeResult
      extended by toxtree.plugins.smartcyp.SMARTCypTreeResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable, IDecisionMethodPrority, IDecisionResult, IProgressStatus

public class SMARTCypTreeResult
extends TreeResult

See Also:
Serialized Form

Field Summary
static java.lang.String FORMAT
           
 
Fields inherited from class toxTree.tree.TreeResult
assignedCategories, category, changes, decisionMethod, logger, notify, originalMolecule, ruleResults, status, web
 
Constructor Summary
SMARTCypTreeResult()
           
 
Method Summary
protected  boolean acceptCategory(IDecisionCategory category)
           
 void assignResult(org.openscience.cdk.interfaces.IAtomContainer mol)
           
protected  java.util.ArrayList<org.openscience.cdk.interfaces.IAtomContainer> getAllAssignedMolecules()
           
protected  java.lang.Object getAtomScoresOfRank(org.openscience.cdk.interfaces.IAtomContainer moleculeKU, java.lang.Integer rank, dk.smartcyp.core.MoleculeKU.SMARTCYP_PROPERTY property)
           
 java.util.Hashtable<java.lang.String,java.lang.String> getExplanation(org.openscience.cdk.interfaces.IAtomContainer mol)
           
 java.util.List<CategoryFilter> getFilters()
           
 java.lang.String[] getResultPropertyNames()
          Returns the name of the property that will contain the result
 
Methods inherited from class toxTree.tree.TreeResult
addCategory, addPropertyChangeListener, addRuleResult, classify, clear, clearResults, compareTo, equals, explain, fireChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, getAssignedCategories, getCategory, getCategory, getDecisionMethod, getMolecule, getOriginalMolecule, getPriority, getPropertyChangeListeners, getRule, getRuleResult, getRuleResults, getRuleResultsCount, hilightAlert, hilightAlert, isError, isEstimated, isEstimating, isNotify, removePropertyChangeListener, setCategory, setDecisionMethod, setError, setEstimated, setEstimated, setEstimating, setMolecule, setNotify, setOriginalMolecule, setPercentEstimated, setPriority, setRuleResults, setSilent, setWeb, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FORMAT

public static final java.lang.String FORMAT
See Also:
Constant Field Values
Constructor Detail

SMARTCypTreeResult

public SMARTCypTreeResult()
Method Detail

assignResult

public void assignResult(org.openscience.cdk.interfaces.IAtomContainer mol)
                  throws DecisionResultException
Specified by:
assignResult in interface IDecisionResult
Overrides:
assignResult in class TreeResult
Throws:
DecisionResultException

getAtomScoresOfRank

protected java.lang.Object getAtomScoresOfRank(org.openscience.cdk.interfaces.IAtomContainer moleculeKU,
                                               java.lang.Integer rank,
                                               dk.smartcyp.core.MoleculeKU.SMARTCYP_PROPERTY property)

getResultPropertyNames

public java.lang.String[] getResultPropertyNames()
Description copied from interface: IDecisionResult
Returns the name of the property that will contain the result

Specified by:
getResultPropertyNames in interface IDecisionResult
Overrides:
getResultPropertyNames in class TreeResult

acceptCategory

protected boolean acceptCategory(IDecisionCategory category)
Overrides:
acceptCategory in class TreeResult

getAllAssignedMolecules

protected java.util.ArrayList<org.openscience.cdk.interfaces.IAtomContainer> getAllAssignedMolecules()

getExplanation

public java.util.Hashtable<java.lang.String,java.lang.String> getExplanation(org.openscience.cdk.interfaces.IAtomContainer mol)
                                                                      throws DecisionResultException
Throws:
DecisionResultException

getFilters

public java.util.List<CategoryFilter> getFilters()
Specified by:
getFilters in interface IDecisionResult
Overrides:
getFilters in class TreeResult


Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.