S
- each Sequence
in the tree is of type SC
- each element of a Sequence
is a Compound
of type Cjavax.swing.tree.TreeNode
GuideTree.Node
public interface GuideTreeNode<S extends Sequence<C>,C extends Compound>
extends javax.swing.tree.TreeNode
Modifier and Type | Method | Description |
---|---|---|
GuideTreeNode<S,C> |
getChild1() |
Returns the first child node of this node.
|
GuideTreeNode<S,C> |
getChild2() |
Returns the second child node of this node.
|
double |
getDistanceToParent() |
Returns the difference in height of this node and it's parent node.
|
java.lang.String |
getName() |
Returns the name of this node.
|
Profile<S,C> |
getProfile() |
Returns the profile stored at this node.
|
java.util.concurrent.Future<ProfilePair<S,C>> |
getProfileFuture() |
Returns the profile future stored at this node, but does not force the calculation, yet.
|
void |
setProfile(Profile<S,C> profile) |
Stores the given profile.
|
void |
setProfileFuture(java.util.concurrent.Future<ProfilePair<S,C>> profileFuture) |
Stores the given profile future.
|
GuideTreeNode<S,C> getChild1()
GuideTreeNode<S,C> getChild2()
double getDistanceToParent()
java.lang.String getName()
Profile<S,C> getProfile()
setProfile(Profile)
has been called.java.util.concurrent.Future<ProfilePair<S,C>> getProfileFuture()
void setProfile(Profile<S,C> profile)
profile
- new profile stored at this nodevoid setProfileFuture(java.util.concurrent.Future<ProfilePair<S,C>> profileFuture)
profileFuture
- new profile to be calculated and then stored at this node