public class GuideTree.Node extends Object implements GuideTreeNode<S,C>
| Modifier and Type | Method and Description |
|---|---|
Enumeration<GuideTreeNode<S,C>> |
children() |
boolean |
getAllowsChildren() |
GuideTreeNode<S,C> |
getChild1()
Returns the first child node of this node.
|
GuideTreeNode<S,C> |
getChild2()
Returns the second child node of this node.
|
GuideTreeNode<S,C> |
getChildAt(int childIndex) |
int |
getChildCount() |
double |
getDistanceToParent()
Returns the difference in height of this node and it's parent node.
|
int |
getIndex(TreeNode child) |
String |
getName()
Returns the name of this node.
|
GuideTreeNode<S,C> |
getParent() |
Profile<S,C> |
getProfile()
Returns the profile stored at this node.
|
Future<ProfilePair<S,C>> |
getProfileFuture()
Returns the profile future stored at this node, but does not force the calculation, yet.
|
boolean |
isLeaf() |
void |
setProfile(Profile<S,C> profile)
Stores the given profile.
|
void |
setProfileFuture(Future<ProfilePair<S,C>> profileFuture)
Stores the given profile future.
|
public GuideTreeNode<S,C> getChild1()
GuideTreeNodepublic GuideTreeNode<S,C> getChild2()
GuideTreeNodepublic double getDistanceToParent()
GuideTreeNodegetDistanceToParent in interface GuideTreeNode<S extends Sequence<C>,C extends Compound>public String getName()
GuideTreeNodepublic Profile<S,C> getProfile()
GuideTreeNodeGuideTreeNode.setProfile(Profile) has been called.getProfile in interface GuideTreeNode<S extends Sequence<C>,C extends Compound>public Future<ProfilePair<S,C>> getProfileFuture()
GuideTreeNodegetProfileFuture in interface GuideTreeNode<S extends Sequence<C>,C extends Compound>public void setProfile(Profile<S,C> profile)
GuideTreeNodesetProfile in interface GuideTreeNode<S extends Sequence<C>,C extends Compound>profile - new profile stored at this nodepublic void setProfileFuture(Future<ProfilePair<S,C>> profileFuture)
GuideTreeNodesetProfileFuture in interface GuideTreeNode<S extends Sequence<C>,C extends Compound>profileFuture - new profile to be calculated and then stored at this nodepublic Enumeration<GuideTreeNode<S,C>> children()
public boolean getAllowsChildren()
getAllowsChildren in interface TreeNodepublic GuideTreeNode<S,C> getChildAt(int childIndex)
getChildAt in interface TreeNodepublic int getChildCount()
getChildCount in interface TreeNodepublic GuideTreeNode<S,C> getParent()
Copyright © 2000–2016 BioJava. All rights reserved.