Class PhylogeneticTree.Node
java.lang.Object
org.episteme.natural.biology.phylogeny.PhylogeneticTree.Node
- Enclosing class:
PhylogeneticTree
Node in a phylogenetic tree with branch length support.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Realfinal Realfinal PhylogeneticTree.Nodefinal Stringfinal PhylogeneticTree.Nodefinal Species -
Constructor Summary
ConstructorsConstructorDescriptionLeaf node constructor from NameNode(String name, PhylogeneticTree.Node left, PhylogeneticTree.Node right, Real branchLength) Internal node constructor with branch lengthNode(PhylogeneticTree.Node left, PhylogeneticTree.Node right, Real height) Internal node constructor for UPGMALeaf node constructor from Species -
Method Summary
-
Field Details
-
name
-
species
-
height
-
branchLength
-
left
-
right
-
-
Constructor Details
-
Node
Leaf node constructor from Name -
Node
Leaf node constructor from Species -
Node
Internal node constructor for UPGMA -
Node
public Node(String name, PhylogeneticTree.Node left, PhylogeneticTree.Node right, Real branchLength) Internal node constructor with branch length
-
-
Method Details
-
isLeaf
public boolean isLeaf() -
toString
-
toNewick
-