TreeJuxtaposer
Class RangeNode

java.lang.Object
  |
  +--TreeJuxtaposer.RangeNode

public class RangeNode
extends java.lang.Object

A class representing a node in a RangeTree. A RangeNode is a helper class for computing relationships between phylogenetic trees and is distinct from a TreeNode which is a node of a Tree.

Author:
Yunhong Zhou

Constructor Summary
RangeNode()
          empty constructor
RangeNode(java.lang.Object d)
          constructor with Data initiated
 
Method Summary
 boolean childless()
           
 int getElement()
           
 void setElement(int e)
          set appropriate coordinate depending on the tree type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeNode

public RangeNode()
empty constructor


RangeNode

public RangeNode(java.lang.Object d)
constructor with Data initiated

Method Detail

setElement

public void setElement(int e)
set appropriate coordinate depending on the tree type.


getElement

public int getElement()

childless

public boolean childless()
Returns:
true if the node is a leaf, false otherwise