toxTree.tree
Class MultiLabelDecisionNode

java.lang.Object
  extended by java.util.Observable
      extended by toxTree.tree.DecisionNode
          extended by toxTree.tree.MultiLabelDecisionNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Observer, IDecisionRule, IDecisionTransition

public class MultiLabelDecisionNode
extends DecisionNode

See Also:
Serialized Form

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

MultiLabelDecisionNode

public MultiLabelDecisionNode()
Constructor


MultiLabelDecisionNode

public MultiLabelDecisionNode(IDecisionRule rule)
Constructs a decision node with rule, null next nodes.

Parameters:
rule -
Method Detail

setBranch

public void setBranch(boolean answer,
                      IDecisionRule node)
Description copied from class: DecisionNode
Sets the decision rule at the branch No if answer==false or the decision rule at the branch Yes if answer =true

Overrides:
setBranch in class DecisionNode
Parameters:
answer - - selects which branch to be set
node - - the next node to set

setCategory

public void setCategory(boolean answer,
                        IDecisionCategory category)
Description copied from class: DecisionNode
/** Sets the category at the branch No if answer==false or the category at the branch Yes if answer =true

Overrides:
setCategory in class DecisionNode


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