public class Tree.Pair extends Object
Modifier and Type | Field and Description |
---|---|
Node<T> |
a
Two nodes of a tree; there is a unique path that goes from a to b.
|
Node<T> |
b
Two nodes of a tree; there is a unique path that goes from a to b.
|
Modifier and Type | Method and Description |
---|---|
List<T> |
getData()
The list of data elements associated with each node in the path, ordered from a to b (both included).
|
double |
measureDistance()
The calibrated distance from a to b.
|
Copyright © 2015–2021 Fiji. All rights reserved.