public class NodeFactory
public static Node createNode()
create a node
public static Node createNode(Taxon id, double height)
create a node, with a specified identifier
public static Node createNodeBranchLength(double branchLength, Taxon id)
create a node, with a specified identifier
public static Node createNode(Node node)
constructor used to clone a node and all children
public static Node createNode(Node[] children, double height)
Create a node with the specified children, and the specified branch height