medusa.georgios.ClusteringAlgorithms
Class Node
- java.lang.Object
-
- medusa.georgios.ClusteringAlgorithms.Node
-
public class Node extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field and Description Nodehigher_parentintidintid_counterbooleanis_leafjava.lang.StringLabeljava.util.ArrayList<java.lang.String>labelsNodeleft_childNodeparentNoderight_child
-
Constructor Summary
Constructors Constructor and Description Node(java.util.ArrayList<java.lang.String> Labels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanconnection_exists(Node parent, Node child)Nodecreate_node()java.lang.Stringget_tree_NewickFormat()java.lang.Stringget_tree_NewickFormat(Node cluster)voidsearch_higher_ancestor_of(Node cluster)
-
-
-
Field Detail
-
id
public int id
-
Label
public java.lang.String Label
-
is_leaf
public boolean is_leaf
-
left_child
public Node left_child
-
right_child
public Node right_child
-
parent
public Node parent
-
higher_parent
public Node higher_parent
-
labels
public java.util.ArrayList<java.lang.String> labels
-
id_counter
public int id_counter
-
-
DMelt 3.0 © DataMelt by jWork.ORG