public class PhyloNode extends Vertex
Modifier and Type | Field and Description |
---|---|
private double |
distance |
Constructor and Description |
---|
PhyloNode(String name,
double distance)
Create an instance of the node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
addAttribute, finalize, getAttributeByName, setXCoord, setYCoord
public PhyloNode(String name, double distance)
name
- the id for the node.distance
- the distance from the previous branching point.Copyright © 2015 University of Glasgow. All rights reserved.