3,829 research outputs found
Orthogonal Graph Drawing with Inflexible Edges
We consider the problem of creating plane orthogonal drawings of 4-planar
graphs (planar graphs with maximum degree 4) with constraints on the number of
bends per edge. More precisely, we have a flexibility function assigning to
each edge a natural number , its flexibility. The problem
FlexDraw asks whether there exists an orthogonal drawing such that each edge
has at most bends. It is known that FlexDraw is NP-hard
if for every edge . On the other hand, FlexDraw can
be solved efficiently if and is trivial if
for every edge .
To close the gap between the NP-hardness for and the
efficient algorithm for , we investigate the
computational complexity of FlexDraw in case only few edges are inflexible
(i.e., have flexibility~). We show that for any FlexDraw
is NP-complete for instances with inflexible edges with
pairwise distance (including the case where they
induce a matching). On the other hand, we give an FPT-algorithm with running
time , where
is the time necessary to compute a maximum flow in a planar flow network with
multiple sources and sinks, and is the number of inflexible edges having at
least one endpoint of degree 4.Comment: 23 pages, 5 figure
Single Source - All Sinks Max Flows in Planar Digraphs
Let G = (V,E) be a planar n-vertex digraph. Consider the problem of computing
max st-flow values in G from a fixed source s to all sinks t in V\{s}. We show
how to solve this problem in near-linear O(n log^3 n) time. Previously, no
better solution was known than running a single-source single-sink max flow
algorithm n-1 times, giving a total time bound of O(n^2 log n) with the
algorithm of Borradaile and Klein.
An important implication is that all-pairs max st-flow values in G can be
computed in near-quadratic time. This is close to optimal as the output size is
Theta(n^2). We give a quadratic lower bound on the number of distinct max flow
values and an Omega(n^3) lower bound for the total size of all min cut-sets.
This distinguishes the problem from the undirected case where the number of
distinct max flow values is O(n).
Previous to our result, no algorithm which could solve the all-pairs max flow
values problem faster than the time of Theta(n^2) max-flow computations for
every planar digraph was known.
This result is accompanied with a data structure that reports min cut-sets.
For fixed s and all t, after O(n^{3/2} log^{3/2} n) preprocessing time, it can
report the set of arcs C crossing a min st-cut in time roughly proportional to
the size of C.Comment: 25 pages, 4 figures; extended abstract appeared in FOCS 201
- …