package mlproject.phylo;

public class PhylogeneticTreeNode {
    public int i; // index;
    public int p; // parent;
    public int l; // left child
    public int r; // right child
    public double d; // distance
    public String n; // name

    PhylogeneticTreeNode() {
        i = -1;
        p = -1;
        l = -1;
        r = -1;
        d = 0.0;
        n = "";
    }

    PhylogeneticTreeNode(int parent, int left, int right, double dist, String name) {
        p = parent;
        l = left;
        r = right;
        d = dist;
        n = name;
    }

}
