toxTree.core
Interface IDecisionResult

All Superinterfaces:
java.lang.Comparable, IDecisionMethodPrority, IProgressStatus, java.io.Serializable
All Known Implementing Classes:
BatchDecisionResultsList, CramerTreeResult, CramerTreeResult, DNABindingTreeResult, FuncTreeResult, MATreeResult, MICTreeResult, MutantTreeResult, ProteinBindingTreeResult, SkinSensitisationTreeResult, SMARTCypTreeResult, TreeResult, Verhaar2TreeResult, VerhaarTreeResult

public interface IDecisionResult
extends java.lang.Comparable, java.io.Serializable, IProgressStatus, IDecisionMethodPrority

An interface definition to represent the result of applying a IDecisionMethod. In addition to the chemical category assigned IDecisionCategory, it provides access to the decision tree path which had led to the assignment.

Version:
0.1, 2005-5-1
Author:
Nina Jeliazkova nina@acad.bg

Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
           
 void addRuleResult(IDecisionRule rule, boolean value, org.openscience.cdk.interfaces.IAtomContainer molecule)
           
 void assignResult(org.openscience.cdk.interfaces.IAtomContainer mol)
           
 boolean classify(org.openscience.cdk.interfaces.IAtomContainer mol)
           
 void clear()
           
 java.lang.StringBuffer explain(boolean verbose)
           
 IDecisionCategories getAssignedCategories()
           
 IDecisionCategory getCategory()
           
 IDecisionCategory getCategory(int index)
           
 IDecisionMethod getDecisionMethod()
           
 java.util.List<CategoryFilter> getFilters()
           
 org.openscience.cdk.interfaces.IAtomContainer getMolecule(int index)
           
 java.beans.PropertyChangeListener[] getPropertyChangeListeners()
           
 java.lang.String[] getResultPropertyNames()
          Returns the name of the property that will contain the result
 IDecisionRule getRule(int index)
           
 RuleResult getRuleResult(int index)
           
 int getRuleResultsCount()
           
 void hilightAlert(IDecisionRule rule)
           
 void hilightAlert(RuleResult ruleresult)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
           
 void setCategory(IDecisionCategory classID)
           
 void setDecisionMethod(IDecisionMethod method)
           
 void setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
           
 void setNotify(boolean value)
           
 void setSilent(boolean silent)
           
 void setWeb(java.lang.Boolean web)
           
 java.lang.String toString()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface toxTree.core.IProgressStatus
isError, isEstimated, isEstimating, setError, setEstimated, setEstimated, setEstimating, setPercentEstimated
 
Methods inherited from interface toxTree.core.IDecisionMethodPrority
getPriority, setPriority
 

Method Detail

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

explain

java.lang.StringBuffer explain(boolean verbose)
                               throws DecisionResultException
Throws:
DecisionResultException

classify

boolean classify(org.openscience.cdk.interfaces.IAtomContainer mol)
                 throws DecisionResultException
Throws:
DecisionResultException

getAssignedCategories

IDecisionCategories getAssignedCategories()

getCategory

IDecisionCategory getCategory()

getCategory

IDecisionCategory getCategory(int index)
                              throws DecisionResultException
Throws:
DecisionResultException

setCategory

void setCategory(IDecisionCategory classID)

getMolecule

org.openscience.cdk.interfaces.IAtomContainer getMolecule(int index)
                                                          throws DecisionResultException
Throws:
DecisionResultException

setMolecule

void setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
                 throws DecisionResultException
Throws:
DecisionResultException

setSilent

void setSilent(boolean silent)
               throws DecisionResultException
Throws:
DecisionResultException

getRule

IDecisionRule getRule(int index)
                      throws DecisionResultException
Throws:
DecisionResultException

getRuleResult

RuleResult getRuleResult(int index)
                         throws DecisionResultException
Throws:
DecisionResultException

addRuleResult

void addRuleResult(IDecisionRule rule,
                   boolean value,
                   org.openscience.cdk.interfaces.IAtomContainer molecule)
                   throws DecisionResultException
Throws:
DecisionResultException

getRuleResultsCount

int getRuleResultsCount()

setDecisionMethod

void setDecisionMethod(IDecisionMethod method)

getDecisionMethod

IDecisionMethod getDecisionMethod()

clear

void clear()

addPropertyChangeListener

void addPropertyChangeListener(java.beans.PropertyChangeListener l)

removePropertyChangeListener

void removePropertyChangeListener(java.beans.PropertyChangeListener l)

getPropertyChangeListeners

java.beans.PropertyChangeListener[] getPropertyChangeListeners()

assignResult

void assignResult(org.openscience.cdk.interfaces.IAtomContainer mol)
                  throws DecisionResultException
Throws:
DecisionResultException

getResultPropertyNames

java.lang.String[] getResultPropertyNames()
Returns the name of the property that will contain the result


getFilters

java.util.List<CategoryFilter> getFilters()

setNotify

void setNotify(boolean value)

hilightAlert

void hilightAlert(IDecisionRule rule)
                  throws DecisionResultException
Throws:
DecisionResultException

hilightAlert

void hilightAlert(RuleResult ruleresult)
                  throws DecisionResultException
Throws:
DecisionResultException

setWeb

void setWeb(java.lang.Boolean web)


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