|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeNode
interface for a node (includes branch) in a binary/non-binary rooted/unrooted tree. Unlike its superclass this node can have an arbitrary number of named attributes associated with it.
| Field Summary | |
|---|---|
static java.lang.String |
CLADE_PROBABILITY
attribute name for the probability of the clade defined by an internal node. |
static java.lang.String |
MEAN_CLADE_HEIGHT
attribute name for the mean height of this clade in a group of trees. |
static java.lang.String |
NODE_HEIGHT_SE
attribute name for the standard error on a node's height. |
static java.lang.String |
SUBTREE_PROBABILITY
attribute name for the probability of the subtree defined by an internal node. |
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
|
java.util.Enumeration |
getAttributeNames()
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets a named attribute to the given value. |
| Methods inherited from interface pal.tree.Node |
|---|
addChild, getBranchLength, getBranchLengthSE, getChild, getChildCount, getIdentifier, getNodeHeight, getNumber, getParent, getSequence, insertChild, isLeaf, isRoot, removeChild, setBranchLength, setBranchLengthSE, setChild, setIdentifier, setNodeHeight, setNodeHeight, setNumber, setParent, setSequence |
| Field Detail |
|---|
static final java.lang.String NODE_HEIGHT_SE
static final java.lang.String CLADE_PROBABILITY
static final java.lang.String SUBTREE_PROBABILITY
static final java.lang.String MEAN_CLADE_HEIGHT
| Method Detail |
|---|
void setAttribute(java.lang.String name,
java.lang.Object value)
name - the name of the attributevalue - the value to set the attributejava.lang.Object getAttribute(java.lang.String name)
name - the name of the attribute.
java.util.Enumeration getAttributeNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||