Abstract:
The article proposes a new exact quadratic algorithm in complexity that solves the problem of the shortest transformation (“alignment”) of one loaded tree into another, taking into account arbitrary prices of operations on trees. Three operations are considered: adding vertex deletions to an edge or root of a tree and shifting a subtree with deletions.
Keywords:discrete optimization, shortest tree transformation, operations on a tree, operation price, exact algorithm, quadratic complexity algorithm, tree alignment.
UDC:519.178
Presented:A. L. Semenov Received: 24.01.2024 Revised: 01.08.2024 Accepted: 01.08.2024