The problem of orienting an unrooted phylogenetic network to obtain a rooted network belonging to a specific network class is NP-hard in many cases. In this paper, we introduce two algorithmic frameworks that yield significantly improved fixed-parameter tractable (FPT) algorithms parameterized by the network level $\ell$. We show that, for several prominent network classes, the core algorithmic difficulty lies in finding a directed spanning tree of the network's unrooted generator. By enumerating these spanning trees in $O(5.3334^\ell)$ time and orienting all remaining edges in polynomial time, we solve the orientation problem in $O(5.3334^\ell \cdot n)$ time for tree-based networks and in $O(5.3334^\ell \cdot n^2)$ time for orchards, where~$n$ is the number of vertices of the network. Extending this approach with further branching yields $O(10.6667^\ell \cdot n^2)$-time algorithms for tree-child and normal networks. Our second technique bypasses spanning trees by directly guessing the placement of reticulations on the generator. This framework provides $O(12.2071^\ell \cdot n^2)$-time algorithms for temporal, reticulation-visible, and tree-sibling networks. We further demonstrate the versatility of the reticulation guessing framework by showing that even computing an orientation with minimum scanwidth is single-exponential FPT with respect to the level.
翻译:暂无翻译