We study upward pointset embeddings (UPSEs) of planar -graphs. Let be a planar -graph and let be a pointset with . An UPSE of on is an upward planar straight-line drawing of that maps the vertices of to the points of . We consider both the problem of testing the existence of an UPSE of on (UPSE Testing) and the problem of enumerating all UPSEs of on . We prove that UPSE Testing is NP-complete even for -graphs that consist of a set of directed -paths sharing only and . On the other hand, if is an -vertex planar -graph whose maximum -cutset has size , then UPSE Testing can be solved in time with space; also, all the UPSEs of on can be enumerated with worst-case delay, using space, after set-up time. Moreover, for an -vertex -graph whose underlying graph is a cycle, we provide a necessary and sufficient condition for the existence of an UPSE on a given pointset, which can be tested in time. Related to this result, we give an algorithm that, for a set of points, enumerates all the non-crossing monotone Hamiltonian cycles on with worst-case delay, using space, after set-up time.

生成讲解博客的中文版本

生成AI智能校验的中文版本