Given a vertex-weighted tree T, the split of an edge xy in T is min{sx, sy} where sx (respectively, sy) is the sum of all weights of vertices that are closer to x than to y (respectively, closer to y than to x) in T. Given a set of weighted vertices V and a multiset of splits S, we consider the problem of constructing a tree on V whose splits correspond to S. The problem is known to be NP-complete, even when all vertices have unit weight and the maximum vertex degree of T is required to be no more than 4. We show that#R##N##R##N#  the problem is strongly NP-complete when T is required to be a path. For this variant we exhibit an algorithm that runs in polynomial time when the number of distinct vertex weights is constant.We also show that#R##N##R##N#the problem is NP-complete when all vertices have unit weight and the maximum degree of T is required to be no more than 3, and#R##N##R##N#it remains NP-complete when all vertices have unit weight and T is required to be a caterpillar with unbounded hair length and maximum degree at most 3.#R##N##R##N#Finally, we shortly discuss the problem when the vertex weights are not given but can be freely chosen by an algorithm.#R##N##R##N#The considered problem is related to building libraries of chemical compounds used for drug design and discovery. In these inverse problems, the goal is to generate chemical compounds having desired structural properties, as there is a strong correlation between structural properties, such as the Wiener index, which is closely connected to the considered problem, and biological activity.
['Serge Gaspers', 'Maya Stein', 'Karol Suchan']
Complexity of splits reconstruction for low-degree trees