In a directed graph $D$ on vertex set $v_1,\dots ,v_n$, a \emph{forward arc} is an arc $v_iv_j$ where $i<j$. A pair $v_i,v_j$ is \emph{forward connected} if there is a directed path from $v_i$ to $v_j$ consisting of forward arcs. In the {\tt Forward Connected Pairs Problem} ({\tt FCPP}), the input is a strongly connected digraph $D$, and the output is the maximum number of forward connected pairs in some vertex enumeration of $D$. We show that {\tt FCPP} is in APX, as one can efficiently enumerate the vertices of $D$ in order to achieve a quadratic number of forward connected pairs. For this, we construct a linear size balanced bi-tree $T$ (an out-tree and an in-tree with same size which roots are identified). The existence of such a $T$ was left as an open problem motivated by the study of temporal paths in temporal networks. More precisely, $T$ can be constructed in quadratic time (in the number of vertices) and has size at least $n/3$. The algorithm involves a particular depth-first search tree (Left-DFS) of independent interest, and shows that every strongly connected directed graph has a balanced separator which is a circuit. Remarkably, in the request version {\tt RFCPP} of {\tt FCPP}, where the input is a strong digraph $D$ and a set of requests $R$ consisting of pairs $\{x_i,y_i\}$, there is no constant $c>0$ such that one can always find an enumeration realizing $c.|R|$ forward connected pairs $\{x_i,y_i\}$ (in either direction).
翻译:本文考虑了一个有向图D中的前向弧的问题,其中前向弧是一个$v_iv_j$的弧,其中$i<j$。一对$v_i,v_j$是前向连接的,如果存在$v_i$到$v_j$的有向路径,该路径包含前向弧。在Forward Connected Pairs Problem(FCPP)中,输入是一个强连通有向图D,输出是D的某个顶点枚举中前向连接对的最大数量。我们证明了FCPP处于APX,因为可以有效地枚举D的顶点以达到前向连接对的二次数量。为此,我们构造了一个线性大小的平衡双树T(一个带大小的出树和一个带大小相同的入树,它们的根被识别为相同的节点)。这种T的存在留给了一个开放问题,其目的是研究时间网络中的时间路径。更准确地说,T可以在二次时间内(顶点数量)构造,并且大小至少为$n/3$。该算法涉及一种特定的深度优先搜索树(Left-DFS),具有独立的兴趣,并且表明每个强连通有向图都有一个平衡分离器是电路。值得注意的是,在RFCCP的REQUEST版本中,其中输入是一个强有向图D和一组请求R,由对{$x_i,y_i$}组成,在任一方向上,在枚举实现$c·|R|$个前向连接对{$x_i,y_i$}时,没有常数$c>0$。