Testing whether a subgraph is convex or isometric
arXiv:2502.16193
Abstract
We consider the following two algorithmic problems: given a graph and a subgraph , decide whether is an isometric or a geodesically convex subgraph of . It is relatively easy to see that the problems can be solved by computing the distances between all pairs of vertices. We provide a conditional lower bound showing that, for sparse graphs with vertices and edges, we cannot expect to solve the problem in time for any constant . We also show that the problem can be solved in subquadratic time for planar graphs and in near-linear time for graphs of bounded treewidth. Finally, we provide a near-linear time algorithm for the setting where is a plane graph and is defined by a few cycles in .
20 pages, 5 figures