Work

Fast computation of distances in a tree

Year: 2020
Type: preprint
Abstract: Computation of distances between two submits of a tree is an operation that occurs in some pattern recognition problem. When this operation has to be done thousands of times on millions of trees, the linear standard algorithms in OpN q for each pair may be a bottleneck to the global computation. This note present recursive spliting method with a complexity of OplogpN qq on each pair in worst case, and Op1q in average on all pair, once a pre-computation OpN logpN qq has been done on the whole tree. A commented C++ implementation is published as a companion to this note. 1
Source: HAL
Language: French
Open Access status: green
OpenAlex ID: W3035680980
Cites: 1
Cited by:
Related to: 8