MCPcopy Create free account
hub / github.com/rambaut/figtree / getParentEdge

Method getParentEdge

src/figtree/treeviewer/ReRootedTree.java:261–266  ·  view source on GitHub ↗
(Node node)

Source from the content-addressed store, hash-verified

259 }
260
261 public Edge getParentEdge(Node node) {
262 if (!(node instanceof ReRootedNode)) {
263 throw new IllegalArgumentException("Node, " + node.toString() + " is not an instance of SimpleRootedNode");
264 }
265 return ((ReRootedNode)node).getEdge();
266 }
267
268 /**
269 * The root of the tree has the largest node height of

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.45
getEdgeMethod · 0.45

Tested by

no test coverage detected