data
Class TreeNode

java.lang.Object
  extended by data.TreeNode

public class TreeNode
extends java.lang.Object

Tree identificator node

Version:
1.0
Author:
Oscar Flores

Field Summary
 int indexId
          Key or index of the contained item (taxa or test)
 TreeNode negBrench
          Pointer to the negative result brench
 int nodeType
          Type of node (taxa or test)
 TreeNode posBrench
          Pointer to the positive result brench
static int TAXA_NODE
          Identificator for nodes containing taxa info
 int taxasBelow
          How many taxa's are below this brench of the tree
static int TEST_NODE
          Identificator for nodes containing test info
 float value
          A float value :P
 
Constructor Summary
TreeNode()
           
 
Method Summary
 boolean isFinal()
          Says if a TreeNode has no sons.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAXA_NODE

public static final int TAXA_NODE
Identificator for nodes containing taxa info

See Also:
Constant Field Values

TEST_NODE

public static final int TEST_NODE
Identificator for nodes containing test info

See Also:
Constant Field Values

indexId

public int indexId
Key or index of the contained item (taxa or test)


value

public float value
A float value :P


taxasBelow

public int taxasBelow
How many taxa's are below this brench of the tree


posBrench

public TreeNode posBrench
Pointer to the positive result brench


negBrench

public TreeNode negBrench
Pointer to the negative result brench


nodeType

public int nodeType
Type of node (taxa or test)

Constructor Detail

TreeNode

public TreeNode()
Method Detail

isFinal

public boolean isFinal()
Says if a TreeNode has no sons. A taxa node has to return true

Returns:
Is a final (leaf) node?