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

Method getExternalNodes

src/figtree/treeviewer/ReRootedTree.java:283–285  ·  view source on GitHub ↗

@return a set of all nodes that have degree 1. These nodes are often refered to as 'tips'.

()

Source from the content-addressed store, hash-verified

281 * These nodes are often refered to as 'tips'.
282 */
283 public Set<Node> getExternalNodes() {
284 return new LinkedHashSet<Node>(externalNodes.values());
285 }
286
287 /**
288 * @return a set of all nodes that have degree 2 or more.

Callers 14

getExternalEdgesMethod · 0.95
calculateNodeHeightsMethod · 0.95
selectTaxaMethod · 0.80
selectAllTaxaMethod · 0.80
getNodeAtMethod · 0.80
getNodesAtMethod · 0.80
calibrateMethod · 0.80
rootTreeAtCenterMethod · 0.80
annotateNodesFromTipsMethod · 0.80
annotateTipsFromNodesMethod · 0.80
layoutMethod · 0.80
layoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected