|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
toxTree.tree.DecisionNode
toxTree.tree.MultiLabelDecisionNode
public class MultiLabelDecisionNode
Field Summary |
---|
Fields inherited from class toxTree.tree.DecisionNode |
---|
categories, nodes, rule, visited |
Constructor Summary | |
---|---|
MultiLabelDecisionNode()
Constructor |
|
MultiLabelDecisionNode(IDecisionRule rule)
Constructs a decision node with rule, null next nodes. |
Method Summary | |
---|---|
void |
setBranch(boolean answer,
IDecisionRule node)
Sets the decision rule at the branch No if answer==false or the decision rule at the branch Yes if answer =true |
void |
setCategory(boolean answer,
IDecisionCategory category)
/** Sets the category at the branch No if answer==false or the category at the branch Yes if answer =true |
Methods inherited from class toxTree.tree.DecisionNode |
---|
addPropertyChangeListener, clearFlags, clone, equals, getBranch, getCategories, getCategory, getEditor, getExampleMolecule, getExplanation, getID, getNodes, getNum, getRule, getSelector, getTitle, hideResiduesID, isEditable, isImplemented, isResidueIDHidden, isVisited, removePropertyChangeListener, setCategories, setEditable, setExampleMolecule, setExplanation, setID, setNodes, setNum, setRule, setTitle, setVisited, toString, toString, update, verifyRule |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MultiLabelDecisionNode()
public MultiLabelDecisionNode(IDecisionRule rule)
rule
- Method Detail |
---|
public void setBranch(boolean answer, IDecisionRule node)
DecisionNode
setBranch
in class DecisionNode
answer
- - selects which branch to be setnode
- - the next node to setpublic void setCategory(boolean answer, IDecisionCategory category)
DecisionNode
setCategory
in class DecisionNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |