public class BatchDecisionResultsList extends DecisionResultsList implements IDecisionMethod, IDecisionResult
DecisionResultsList as IDecisionMethod.| Modifier and Type | Field and Description |
|---|---|
protected Dimension |
imageSize |
protected PropertyChangeSupport |
pssupport |
protected ProgressStatus |
status |
list, loggerxmltag_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 |
|---|
BatchDecisionResultsList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDecisionRule(IDecisionRule rule) |
void |
addPropertyChangeListener(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) |
boolean |
classify(org.openscience.cdk.interfaces.IAtomContainer mol,
IDecisionResult result) |
int |
compareTo(Object o) |
IDecisionResult |
createDecisionResult() |
StringBuffer |
explain(boolean verbose) |
StringBuffer |
explainRules(IDecisionResult result,
boolean verbose) |
protected void |
firePropertyChangeEvent(String propertyName,
Object oldValue,
Object newValue) |
IDecisionCategories |
getAssignedCategories() |
IDecisionRule |
getBranch(IDecisionRule rule,
boolean answer) |
IDecisionCategories |
getCategories() |
IDecisionCategory |
getCategory() |
IDecisionCategory |
getCategory(IDecisionRule rule,
boolean answer) |
IDecisionCategory |
getCategory(int index) |
IDecisionMethod |
getDecisionMethod() |
IDecisionMethodEditor |
getEditor()
Each rule provides an editor, which is a class implementing
IDecisionMethodEditor. |
String |
getExplanation() |
List<CategoryFilter> |
getFilters() |
BufferedImage |
getImage(org.openscience.cdk.interfaces.IAtomContainer mol) |
BufferedImage |
getImage(org.openscience.cdk.interfaces.IAtomContainer mol,
String ruleID,
int width,
int height,
boolean atomnumbers) |
Dimension |
getImageSize() |
BufferedImage |
getLegend(int width,
int height) |
org.openscience.cdk.interfaces.IAtomContainer |
getMolecule(int index) |
int |
getNumberOfClasses() |
int |
getNumberOfRules() |
int |
getPriority() |
PropertyChangeListener[] |
getPropertyChangeListeners() |
List<ambit2.base.data.Property> |
getResultProperties()
Returns the properties to contain the result in
Property class |
String[] |
getResultPropertyNames()
Returns the name of the property that will contain the result
|
IDecisionRule |
getRule(int id) |
IDecisionRule |
getRule(String name) |
RuleResult |
getRuleResult(int index) |
int |
getRuleResultsCount() |
IDecisionRuleList |
getRules() |
String |
getTitle() |
IDecisionRule |
getTopRule() |
IDecisionRuleList |
hasUnreachableRules() |
IDecisionCategories |
hasUnusedCategories() |
void |
hilightAlert(IDecisionRule rule) |
void |
hilightAlert(RuleResult ruleresult) |
boolean |
isEditable() |
boolean |
isError() |
boolean |
isEstimated() |
boolean |
isEstimating() |
boolean |
isModified() |
boolean |
isNotify() |
boolean |
isWeb() |
void |
removePropertyChangeListener(PropertyChangeListener l) |
void |
setCategory(IDecisionCategory classID) |
void |
setDecisionMethod(IDecisionMethod method) |
void |
setDecisionRule(IDecisionRule rule) |
void |
setEditable(boolean value) |
void |
setError(String message) |
void |
setEstimated() |
void |
setEstimated(boolean value) |
void |
setEstimating() |
void |
setExplanation(String value) |
void |
setImageSize(Dimension imageSize) |
void |
setModified(boolean value) |
void |
setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule) |
void |
setNotify(boolean notify) |
void |
setParameters(org.openscience.cdk.interfaces.IAtomContainer mol) |
void |
setPercentEstimated(int percent) |
void |
setPriority(int priority) |
void |
setSilent(boolean silent) |
void |
setTitle(String value) |
void |
setWeb(Boolean web) |
String |
toString() |
void |
update(Observable arg0,
Object arg1) |
boolean |
verifyRules(org.openscience.cdk.interfaces.IAtomContainer mol,
IDecisionResult result) |
void |
walkRules(IDecisionRule rule,
IProcessRule processor) |
addDecisionMethod, getMethod, getResult, remove, removeadd, add, addAll, addAll, clear, contains, containsAll, fromXML, get, getList, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, loadAllFromPlugins, loadFromPlugins, loadPluginsByConfiguration, removeAll, retainAll, set, setList, setMethods, size, subList, toArray, toArray, toShallowXML, toXMLaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streamprotected PropertyChangeSupport pssupport
protected ProgressStatus status
protected Dimension imageSize
public Dimension getImageSize()
getImageSize in interface ambit2.core.data.IStructureDiagramDepiction<BufferedImage>public void setImageSize(Dimension imageSize)
setImageSize in interface ambit2.core.data.IStructureDiagramDepiction<BufferedImage>public void addDecisionRule(IDecisionRule rule) throws DecisionMethodException
addDecisionRule in interface IDecisionMethodDecisionMethodExceptionpublic void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener in interface IDecisionMethodaddPropertyChangeListener in interface IDecisionResultprotected void firePropertyChangeEvent(String propertyName, Object oldValue, Object newValue)
public void setParameters(org.openscience.cdk.interfaces.IAtomContainer mol)
setParameters in interface IDecisionMethodpublic boolean classify(org.openscience.cdk.interfaces.IAtomContainer mol,
IDecisionResult result)
throws DecisionMethodException
classify in interface IDecisionMethodDecisionMethodExceptionpublic void assignResult(org.openscience.cdk.interfaces.IAtomContainer mol)
throws DecisionResultException
assignResult in interface IDecisionResultDecisionResultExceptionpublic IDecisionResult createDecisionResult()
createDecisionResult in interface IDecisionMethodpublic StringBuffer explainRules(IDecisionResult result, boolean verbose) throws DecisionMethodException
explainRules in interface IDecisionMethodDecisionMethodExceptionpublic IDecisionRule getBranch(IDecisionRule rule, boolean answer)
getBranch in interface IDecisionMethodpublic IDecisionCategories getCategories()
getCategories in interface IDecisionMethodpublic IDecisionCategory getCategory(IDecisionRule rule, boolean answer)
getCategory in interface IDecisionMethodpublic IDecisionCategories getAssignedCategories()
getAssignedCategories in interface IDecisionResultpublic IDecisionMethodEditor getEditor()
IDecisionMethodIDecisionMethodEditor.
The editor shall provide user interface for visualization and modification of various method settings.getEditor in interface IDecisionMethodIDecisionMethodEditorpublic String getExplanation()
getExplanation in interface IDecisionMethodpublic int getNumberOfClasses()
getNumberOfClasses in interface IDecisionMethodpublic int getNumberOfRules()
getNumberOfRules in interface IDecisionMethodpublic IDecisionRule getRule(int id)
getRule in interface IDecisionMethodgetRule in interface IDecisionResultpublic IDecisionRule getRule(String name)
getRule in interface IDecisionMethodpublic IDecisionRuleList getRules()
getRules in interface IDecisionMethodpublic String getTitle()
getTitle in interface IDecisionMethodpublic IDecisionRule getTopRule()
getTopRule in interface IDecisionMethodpublic IDecisionRuleList hasUnreachableRules()
hasUnreachableRules in interface IDecisionMethodpublic boolean isEditable()
isEditable in interface IDecisionMethodpublic boolean isModified()
isModified in interface IDecisionMethodpublic void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener in interface IDecisionMethodremovePropertyChangeListener in interface IDecisionResultpublic PropertyChangeListener[] getPropertyChangeListeners()
getPropertyChangeListeners in interface IDecisionResultpublic void setDecisionRule(IDecisionRule rule) throws DecisionMethodException
setDecisionRule in interface IDecisionMethodDecisionMethodExceptionpublic void setEditable(boolean value)
setEditable in interface IDecisionMethodpublic void setExplanation(String value)
setExplanation in interface IDecisionMethodpublic void setModified(boolean value)
setModified in interface IDecisionMethodpublic void setTitle(String value)
setTitle in interface IDecisionMethodpublic boolean verifyRules(org.openscience.cdk.interfaces.IAtomContainer mol,
IDecisionResult result)
throws DecisionMethodException
verifyRules in interface IDecisionMethodDecisionMethodExceptionpublic void addRuleResult(IDecisionRule rule, boolean value, org.openscience.cdk.interfaces.IAtomContainer molecule) throws DecisionResultException
addRuleResult in interface IDecisionResultDecisionResultExceptionpublic boolean classify(org.openscience.cdk.interfaces.IAtomContainer mol)
throws DecisionResultException
classify in interface IDecisionResultDecisionResultExceptionpublic void setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
throws DecisionResultException
setMolecule in interface IDecisionResultDecisionResultExceptionpublic void setSilent(boolean silent)
throws DecisionResultException
setSilent in interface IDecisionResultDecisionResultExceptionpublic StringBuffer explain(boolean verbose) throws DecisionResultException
explain in interface IDecisionResultDecisionResultExceptionpublic IDecisionCategory getCategory()
getCategory in interface IDecisionResultpublic IDecisionCategory getCategory(int index) throws DecisionResultException
getCategory in interface IDecisionResultDecisionResultExceptionpublic IDecisionMethod getDecisionMethod()
getDecisionMethod in interface IDecisionResultpublic org.openscience.cdk.interfaces.IAtomContainer getMolecule(int index)
throws DecisionResultException
getMolecule in interface IDecisionResultDecisionResultExceptionpublic RuleResult getRuleResult(int index) throws DecisionResultException
getRuleResult in interface IDecisionResultDecisionResultExceptionpublic int getRuleResultsCount()
getRuleResultsCount in interface IDecisionResultpublic void setCategory(IDecisionCategory classID)
setCategory in interface IDecisionResultpublic void setDecisionMethod(IDecisionMethod method)
setDecisionMethod in interface IDecisionResultpublic int compareTo(Object o)
compareTo in interface Comparablepublic boolean isError()
isError in interface IProgressStatuspublic void setError(String message)
setError in interface IProgressStatuspublic boolean isEstimated()
isEstimated in interface IProgressStatuspublic boolean isEstimating()
isEstimating in interface IProgressStatuspublic void setEstimating()
setEstimating in interface IProgressStatuspublic void setPercentEstimated(int percent)
setPercentEstimated in interface IProgressStatuspublic void setEstimated()
setEstimated in interface IProgressStatuspublic void setEstimated(boolean value)
setEstimated in interface IProgressStatuspublic IDecisionCategories hasUnusedCategories()
hasUnusedCategories in interface IDecisionMethodpublic String[] getResultPropertyNames()
IDecisionResultgetResultPropertyNames in interface IDecisionResultpublic List<ambit2.base.data.Property> getResultProperties() throws net.idea.modbcum.i.exceptions.AmbitException
IDecisionResultProperty classgetResultProperties in interface IDecisionResultnet.idea.modbcum.i.exceptions.AmbitExceptionpublic int getPriority()
getPriority in interface IDecisionMethodProritypublic void setPriority(int priority)
setPriority in interface IDecisionMethodProritypublic void update(Observable arg0, Object arg1)
update in interface Observerupdate in class DecisionResultsListpublic void walkRules(IDecisionRule rule, IProcessRule processor) throws DecisionMethodException
walkRules in interface IDecisionMethodDecisionMethodExceptionpublic List<CategoryFilter> getFilters()
getFilters in interface IDecisionResultpublic boolean isNotify()
public void setNotify(boolean notify)
setNotify in interface IDecisionResultpublic String toString()
toString in interface IDecisionResulttoString in class Objectpublic void hilightAlert(IDecisionRule rule) throws DecisionResultException
hilightAlert in interface IDecisionResultDecisionResultExceptionpublic void hilightAlert(RuleResult ruleresult) throws DecisionResultException
hilightAlert in interface IDecisionResultDecisionResultExceptionpublic BufferedImage getImage(org.openscience.cdk.interfaces.IAtomContainer mol, String ruleID, int width, int height, boolean atomnumbers) throws net.idea.modbcum.i.exceptions.AmbitException
getImage in interface ambit2.core.data.IStructureDiagramDepiction<BufferedImage>net.idea.modbcum.i.exceptions.AmbitExceptionpublic BufferedImage getImage(org.openscience.cdk.interfaces.IAtomContainer mol) throws net.idea.modbcum.i.exceptions.AmbitException
getImage in interface ambit2.core.data.IStructureDiagramDepiction<BufferedImage>net.idea.modbcum.i.exceptions.AmbitExceptionpublic void setWeb(Boolean web)
setWeb in interface IDecisionMethodsetWeb in interface IDecisionResultpublic boolean isWeb()
isWeb in interface IDecisionMethodpublic BufferedImage getLegend(int width, int height) throws net.idea.modbcum.i.exceptions.AmbitException
getLegend in interface ambit2.core.data.IStructureDiagramDepiction<BufferedImage>net.idea.modbcum.i.exceptions.AmbitExceptionCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.