betaFeedback

WorksComputer Science

A Decremental Algorithm for Checking the Possibility of Braess Paradox in Dynamic Nets

Abstract

Braess paradox originates when latency at Wardrop equilibrium in traffic networks decreases because of removing edges. The graph-theoretic property of networks suffering from the Braess paradox was called vulnerability by Roughgarden in 2006; it was then characterized and algorithmically checked both for undirected and for directed nets. In this paper, we provide a decremental algorithm of linear amortized complexity to check vulnerability for dynamically evolving networks. The basic idea of our dynamic algorithm is to use a static algorithm that marks some edges as irrelevant for the vulnerability of the graph and ignore those edges for all subsequent runs of the decremental procedure. To get a linear amortized cost for every edge remotion, we also provide a new version of such a static algorithm that improves its complexity from O(n m^2) to O(m^2), that is in turn aligned with the cost of the best state-of-the-art static algorithm for vulnerability.

Introduction

In selfish routing, non-cooperative agents travel from a source node ss to a destination node tt, choosing their path in order to minimize their own latency. Traffic networks [3, 4] provide a model for studying selfish routing: edges of a directed graph are labeled by a function specifying the latency that agents experience traveling on an edge in terms of the flow passing through it. Since the latency experienced by an agent while traveling along a path depends on network congestion, traffic in a network is modeled as a non-cooperative game, which stabilizes to equilibrium when all agents cannot improve their latency by choosing a different path. This notion of equilibrium was defined by Wardrop [32] in the context of transport analysis.

As a representative example, consider the so-called Wheatstone network in Fig. 1(1). The edges u→vu \to v, s→vs \to v and u→tu \to t are labeled by the constant functions 0 and 1: independently on how much traffic travels along them, the passage from uu to vv is instantaneous, whereas it creates a delay of 1 in the other two cases. Finally, the delay on edges s→us \to u and v→tv \to t is linear in the amount of traffic traveling along them. The (non-optimal) flow of value 1 where all selfish agents choose the path s→u→v→ts \to u \to v \to t is at Wardrop equilibrium, and the overall delay experienced is 1+0+1=21+0+1=2. In contrast, the (optimal) flow in which agents distribute half along the path s→u→ts \to u \to t and half along s→v→ts \to v \to t is not at equilibrium, but the delay experienced is smaller (viz., 3/23/2). This is indeed the delay obtained with a flow of value 1 at Wardrop equilibrium in the subnet of the Wheatstone network depicted in Fig. 1Figure 2. Braess paradox [3, 6] originates when latency at Wardrop equilibrium decreases because of removing edges: the Wheatstone network is a minimal example of this counterintuitive phenomenon.

Figure 2. Pictorial representation of the conventions used for node names and path colors. To make this figure (and the following ones) more readable, all arrows apart from e^\hat{e} are intended to denote paths (i.e., we use →\to instead of ⇝\rightsquigarrow).

Braess paradox has been studied for decades and from many different perspectives. An important result is that the paradox is not merely an artificially constructed phenomenon arising under particular conditions; rather, in random networks, the probability of its occurrence tends to one as the size of the network increases [29]. The paradox has therefore also been investigated in real-world applications, such as gas transportation networks [1], electric power systems [5], and road networks [2]. From a theoretical perspective, several results guarantee the absence of the paradox, either through conditions on the flow distribution [16] or on the structure of the strategies [15]. Moreover, it has been investigated how detrimental the paradox can be in different settings, as well as how much the addition of the bridge could actually improve equilibria in some cases [23]. Furthermore, it has been proved that the paradox can occur only for a bounded set of traffic demand values [22] and some conditions under which the paradox arises have been devised when cooperative and competitive agents coexist [31].

Figure 1. (1) The Wheatstone network; (2) Its optimal subnet; (3) The graph W\mathcal{W}.

From an algorithmic point of view, checking if a network suffers from the Braess paradox has been proven to be a NPNP-hard problem in [26], where a change of perspective has been suggested: studying the Braess paradox from a graph-theoretical point of view, by characterizing and efficiently recognizing vulnerable graphs, i.e. those graphs that admit instances (i.e., assignments of latency functions to edges and traffic demand) that generate the paradox. A characterization of vulnerable undirected multigraphs is presented in [20], where it is proved that an undirected graph is vulnerable if and only if it is not series-parallel [25]. This characterization only holds for graphs where all nodes and edges lie on at least one simple stst-path. In [9], the same characterization is proved for directed multigraphs that satisfy the very same condition, called irredundancy therein. While checking (ir)redundancy and finding the Maximal Irredundant Subgraph (MIS) can be efficiently done for undirected graphs [10], the same does not hold for directed ones: in [8] it is proved that recognizing if an edge is redundant in a digraph is a NPNP-hard problem. Moreover, in [7] the authors prove that vulnerability coincides with containing an irredundant subgraph homeomorphic to the graph W\mathcal{W} of Fig. 1(3) and in [8] they provide a O(nm2)O(nm^{2}) algorithm to state if a given graph is vulnerable or not; in [19] a faster algorithm is given, which runs in O(m2)O(m^{2}).

Because of the inherently dynamic nature of routing games, the Braess Paradox has been studied from several perspectives within game theory also in its dynamic form. Indeed, many aspects of the problem may vary over time. For instance, traffic demand may fluctuate, as it is naturally the case during a typical working day, and the behavior of agents within the network may change accordingly. An interesting question is therefore to understand what happens in networks exhibiting Braess Paradox when the traffic demand varies [11] [30], by also allowing the demand to depend explicitly on time and study the resulting evolution of equilibria [21] [33]. Another aspect that may change over time is the underlying network itself; in particular, new links may be created or existing ones may be removed, possibly on a very short time scale. This is the setting where we place our work.

Indeed, a challenging algorithmic question is how to handle vulnerability in the context of dynamically evolving graphs [12]. Dynamic graph algorithms face problems like graph connectivity [24], the minimum spanning tree and many other graph problems [17]. In our context, inter-node connections can change during time, either by appearing or by disappearing and this may consequently change the possibility of having the Braess Paradox. We first observe that, as an easy consequence of the characterizations given by [7] and [9], adding an edge can make vulnerable a non-vulnerable graph, but it never happens that a vulnerable graph becomes non-vulnerable and, dually, removing an edge can make non-vulnerable a vulnerable graph, but not vice versa.

In a companion paper [14], we give an incremental algorithm to determine if adding an edge to a net makes it vulnerable: focusing on the non-vulnerable case, our dynamic algorithm works on the MIS of a non vulnerable graph, adapting the O(m2)O(m^2) static algorithm given by [19]. Such an algorithm has an amortized cost of O(m)O(m). Here, we address the decremental problem and assume that we have a vulnerable net with nn nodes and mm edges, where some of the latter ones can be sequentially removed from the net. In this case, we preliminarily observe that the algorithm given in [8] is “intrinsically” decremental, as it iteratively eliminates redundant edges, which do not have impact on vulnerability of the graph. Indeed, after giving some background in § 2, we show in § 3 that any algorithm of complexity O(f(n,m))O(f(n,m)) following the approach of [8] leads to a decremental algorithm of amortized cost of O(f(n,m)/m)O(f(n,m)/m) after Θ(m)\Theta(m) edge removals. If we use the algorithm in [8] as it is, this would lead to a decremental algorithm of amortized cost of O(nm)O(nm), that is unsatisfactory when compared to the amortized cost O(m)O(m) of the incremental case. To obtain the desired amortized complexity, we improve the algorithm in [8] and we reduce its complexity from O(nm2)O(nm^2) to O(m2)O(m^2) and, consequently, we also get a decremental algorithm of amortized cost O(m)O(m).

To do this, in § 4, we provide sufficient conditions for either recognizing net vulnerability or finding a redundant edge, and in § 5 we provide linear-time algorithms for checking such conditions. These algorithms are used in § 6 to yield the linear-time amortized decremental algorithm. Finally, § 7 concludes the paper, by also pointing to directions for future research. Due to space constraints, some definitions and proofs have been deferred to the Appendices.

Preliminaries

A directed multigraph (or multi-digraph) G=(V,E)G=(V,E) consists of a set VV of nodes (or vertices) and a set EE of edges. Each edge ee relates a pair of nodes (u,v)(u,v). When the name of an edge is not relevant but only its extremes are, we denote an edge with the pair it relates.

A path PP is a sequence u1e1u2…un−1en−1unu_1e_1u_2\ldots u_{n-1}e_{n-1}u_n (for n≥1n \ge1) of nodes and edges such that eie_i relates (ui,ui+1)(u_i,u_{i+1}), for all i<ni<n; u1u_1 and unu_n are called extremes and u2,…,un−1u_2,\ldots,u_{n-1} are called internal nodes. If no node appears more than once in PP, we say that PP is simple (or acyclic). In this paper, when we refer to a path we always mean that it is simple, if not explicitly said.

Definition 1. Given a path PP and two nodes a,b∈Pa,b \in P, we write a<Pba <_P b (or a<ba < b on PP) if aa appears before bb in PP; ≤\le is defined accordingly.

Notationally, given a path PP from aa to bb, we denote it as P=a⇝bP=a\leadsto b or a⇝Pba \overset{P}{\leadsto} b; if c<Pdc <_P d, we write c⇝Pdc \overset{P}{\leadsto} d to denote the part of PP between cc and dd. We use round/square parenthesis to exclude/include extremes; for example, (a⇝b](a\leadsto b] means that we are excluding aa and including bb. We use PP to mean [a⇝b][a\leadsto b] and P˙\dot{P} to mean (a⇝b)(a\leadsto b); two paths PP and QQ are internally node disjoint if P˙∩Q˙=∅\dot{P}\cap\dot{Q}=\varnothing. We can join paths that only share one endpoint as follows: if P=a⇝bP=a\leadsto b and Q=b⇝cQ=b\leadsto c are internally node disjoint, then a⇝Pb⇝Qca\overset{P}{\leadsto}b\overset{Q}{\leadsto}c indicates the path that starts in aa, follows PP until bb, and finally follows QQ until cc. We fix two different nodes: a source, written ss, and a target, written tt. The resulting triple (G,s,t)(G,s,t) is called net; when ss and tt are understood, we sometimes simply write it as GG (i.e., without specifying the source and target) and use the term ‘graph’ instead of ‘net’. An stst-path is a path from ss to tt. We say that a net is stst-connected if every node is touched by at least one stst-path.

The formal definitions of Braess Paradox and vulnerable nets are deferred to Appendix § 8, since they are not fundamental to appreciate our results. Indeed, for our aims it suffices to know that a net is vulnerable if and only if one of the following two characterizations hold. The first characterisation of vulnerable nets holds for irredundant nets, defined as those nets containing only irredundant nodes and edges. As defined in [9] (and derived from [20]), a vertex or an edge is irredundant if it appears in a simple stst-path, and redundant otherwise. The characterisation given by [10] states that an irredundant net is vulnerable if and only if it is series-parallel (the definition is reported in Appendix § 8 and it can be checked in linear time [28]). However, verifying if a net is irredundant is an NPNP-complete problem, as shown in [8]. In [7] the authors give a second characterisation of vulnerability that holds for generic (i.e., not necessarily irredundant) graphs, based on the embedding of W\mathcal{W} (Fig. 1(3)) within the given net.

Definition 2 ([18]). A subgraph homeomorphism from HH to GG is a pair of injective mappings (ϕ,ψ)(\phi,\psi), from VHV_H to VGV_G and from EHE_H to the simple paths of GG respectively, such that ψ(e)=ϕ(x)⇝ϕ(y)\psi(e)=\phi(x)\rightsquigarrow\phi(y), for every e∈EHe\in E_H that relates (x,y)(x,y). A homeomorphism is called node disjoint if all paths in the image of ψ\psi are pairwise internally node disjoint.

Definition 3. An stst-embedding of W\mathcal{W} from Fig. 1(3) into a net (G,s′,t′)(G,s',t') is a node disjoint subgraph homeomorphism (ϕ,ψ)(\phi,\psi) from W\mathcal{W} to GG such that there are (possibly empty) node disjoint simple paths from s′s' to ϕ(s)\phi(s) and from ϕ(t)\phi(t) to t′t' that are pairwise internally node disjoint with all paths in the image of ψ\psi.

A High-level Decremental Algorithm

The high-level structure of the algorithm given in [8] is summarized in Algorithm 1. It consists in iteratively choosing a cycle CC in the graph GG (line 3) and analyzing that cycle (line 4): this can lead to find a stst-embedding of the Wheatstone graph W\mathcal{W}, that implies that GG is vulnerable (line 6), or to break that cycle, by removing an edge ee redundant in CC. In this latter case, function \textit{rmvRedEdges} is called (line 8) to identify the set of all edges that are no more stst-connected in the graph after removing ee; these edges now all become redundant and are removed from GG. If there is no embedding of W\mathcal{W} involving (parts of) a cycle in the original graph, the \textit{while}-loop stops in at most O(m)O(m) steps; at that moment, GG is an acyclic graph and its vulnerability is equivalent to not be series-parallel [10] (this can be checked in linear time [28]). The complexity of this algorithm is f(n,m)∈O(m⋅g(n,m))f(n,m)\in O(m\cdot g(n,m)), being g(n,m)g(n,m) the complexity of the function \textit{SearchW}: indeed, both \textit{FindACycle} and \textit{rmvRedEdges} are linear in mm, being variations of some visit; moreover, we expect that g(n,m)∈Ω(m)g(n,m)\in\Omega(m).

Any algorithm following the same “hunting W\mathcal{W} in cycles” strategy as function \textit{isVuln} can easily be transformed into a decremental procedure: just invoke it on the graph G∖{e}G\setminus\{e\}, being ee the edge to be removed. However, to carry out our amortized complexity analysis, we found it convenient to represent a sequence of edge removals as an algorithm (Algorithm 2), where we assume to know in advance all the edges that will be removed and we specify how to use \textit{isVuln} in this context. In practice, edges will disappear in different moments of the net’s life and are not available in advance: Algorithm 2 shows how to exploit the current status of the net (Vuln/NotVuln) and the edges identified as redundant in previous executions (stored in RR) to optimize the calls to IsVuln and, consequently, reduce the amortized cost.

More precisely, in the decremental setting, we start from a net with mm edges and sequentially remove k∈O(m)k \in\mathcal{O}(m) edges e1,…,eke_1,\ldots,e_k. At any edge removal, if the graph is vulnerable, we call function IsVuln on a graph Gˉ\bar{G} in which we delete the edge to be removed and the set RR of all edges already discovered redundant in previous executions of IsVuln (line 5–6) and we keep track of new redundant edges discovered (line 7). In fact, removing an edge eje_j eliminates some stst-paths in GG and therefore all redundant edges in GG will remain redundant in G∖{ej}G \setminus\{e_j\}. Thus, during a sequence of edge removals, the set of redundant edges can only grow. In contrast, if the net is not vulnerable, thanks to the characterization in [7], we know that it will remain so after any further edge removal; thus, we can remove edges in constant time, in particular without invoking IsVuln.

Algorithm 1 IsVuln(G)
1:  R′ = ∅
2:  while G is not acyclic do
3:      C = FindACycle(G)
4:      found, e = SearchW(G, C)
5:      if found then
6:          return R′, Vuln
7:      else
8:          R′ = R′ ∪ rmvRedEdges(G, e)
9:  if G is series-parallel then
10:     return ∅, NotVuln
11: else return R′, Vuln
Algorithm 2 seqRmv(G, e1, . . . , ek)
1:  R = ∅
2:  status = Vuln
3:  for j = 1 to k do
4:      if ej ∉ R and status = Vuln then
5:          Ḡ = (V, E \ (R ∪ ej ))
6:          R′, status = IsVuln(Ḡ)
7:          R = R ∪ R′
8:          E = E \ {ej}
9:  return status

If the net is vulnerable, the function IsVuln has analyzed some cycles before finding a stst-embedding of WW and has marked a set RR of edges as redundant; these can be ignored in subsequent calls of IsVuln because removing edges never makes irredundant a redundant edge. This implies that a sequence of runs of IsVuln cannot remove more edges than IsVuln does in its worst case scenario, i.e. whenever the algorithm has to break all the existing cycles, with a cost of O(m⋅f(n,m))\mathcal{O}(m \cdot f(n,m)). In other words, kk runs of IsVuln as a decremental algorithm after kk edge removals (supported by storing in RR all the redundant edges found) has a total worst case complexity bounded by the very same worst case complexity of IsVuln itself. The total cost for checking vulnerability after removing k∈O(m)k \in\mathcal{O}(m) edges is then C(m)∈O(m⋅f(n,m))C(m) \in\mathcal{O}(m \cdot f(n,m)). Consequently, the amortized cost for the single iteration is C(m)k∈O(f(n,m))\frac{C(m)}{k} \in\mathcal{O}(f(n,m)), being k∈O(m)k \in\mathcal{O}(m).

In [8], the algorithm for SearchW consists of solving a constant number of reachability problems. However, it may happen that, with the chosen cycle, it is not able to either find a stst-embedding of WW nor to break that cycle by canceling some redundant edge(s); in that case, a new cycle must be chosen. Following a suitable order on cycles, this situation can occur at most O(n)\mathcal{O}(n) times. As a consequence, the complexity of SearchW in [8] is O(nm)\mathcal{O}(nm) and the complexity of the overall algorithm is O(nm2)\mathcal{O}(nm^2). In the rest of this paper, we show that we can refine the cycle analysis presented in [8] and make it always conclusive (i.e. it always either finds WW or breaks a cycle) in time O(m)\mathcal{O}(m), by solving a constant number of reachability problems. This leads to a function SearchW of complexity O(m)\mathcal{O}(m) (see Algorithm 8 in § 6), which brings the complexity of IsVuln to O(m2)\mathcal{O}(m^2) and allows for a decremental algorithm of amortized cost O(m)\mathcal{O}(m).

Graph-Theoretic Conditions for Vulnerability

The theoretical heart of this paper is the development of 7 sufficient graph-theoretic conditions for establishing vulnerability of a net analyzing a cycle, with the feature that, if all the checks fail, we identify at least an edge that is redundant in that cycle (see Theorem 13). To this aim, we start by giving some preliminary definitions and name conventions.

Preliminary Definitions and Notations

In the rest of this paper, we shall use the following conventions on node names and on path coloring within figures:

  • ε∗\varepsilon^* denotes a node at minimum distance from ss that belongs to a non-trivial cycle CC; edges of CC will always be depicted in red (see Figure 2 up);

  • P∗P^* is any shortest path from ss to ε∗\varepsilon^* and it will always be depicted in orange (see Figure 2 up).

Once ε∗\varepsilon^*, CC and P∗P^* are chosen, we accordingly define:

  • Ξ\Xi is the set of nodes from which it is possible to exit CC, i.e. is the set of ξ∈Ξ\xi\in\Xi such that ∃P=ξ⇝t\exists P = \xi\rightsquigarrow t and P˚∩C=∅\mathring{P} \cap C = \varnothing; we number the elements of Ξ\Xi as ξ1,ξ2,…\xi_1,\xi_2,\ldots by following [ε∗→Cε∗)[\varepsilon^* \xrightarrow{C} \varepsilon^*) and call ξ^\hat{\xi} the last one (see Figure 2 up);

  • e^\hat{e} is the edge of CC that starts from ξ^\hat{\xi};

  • P^\hat{P} is one of the paths ξ^⇝t\hat{\xi} \rightsquigarrow t that does not touch CC; it will always be denoted in blue (see Figure 2 up);

  • t′t' is the node on P^\hat{P} closer to tt that is reachable from ξ1\xi_1 without passing through other nodes of P^\hat{P} and CC (see Figure 2 up);

  • EE is the set of entry nodes along (ξ^→Cξ1](\hat{\xi} \xrightarrow{C} \xi_1], i.e. those nodes ε\varepsilon reachable from ss without touching P^\hat{P} nor passing through CC; we number the elements of EE as ε1,ε2,…\varepsilon_1,\varepsilon_2,\ldots by following (ξ^→Cξ1](\hat{\xi} \xrightarrow{C} \xi_1] (see Figure 2 center); notice that ε∗\varepsilon^* belongs to this order as well (in Figure 2 center it is ε2\varepsilon_2);

  • XX is the set of nodes of (ξ1⇝Cξ^⇝P^t′)(\xi_1 \mathop{\rightsquigarrow}\limits^{C} \hat{\xi} \mathop{\rightsquigarrow}\limits^{\hat{P}} t') reachable from ss without passing through other nodes of CC and P^\hat{P}; we number the elements of XX as x1,x2,…x_1,x_2,\ldots by following (ξ1⇝Cξ^⇝P^t′)(\xi_1 \mathop{\rightsquigarrow}\limits^{C} \hat{\xi} \mathop{\rightsquigarrow}\limits^{\hat{P}} t') (see Figure 2 center);

  • Ω\Omega is the set of nodes of [t′⇝P^t][t' \mathop{\rightsquigarrow}\limits^{\hat{P}} t] reachable from ss without passing through other nodes of P^\hat{P}; we number the elements of Ω\Omega as ω1,ω2,…\omega_1,\omega_2,\ldots by following [t′⇝P^t][t' \mathop{\rightsquigarrow}\limits^{\hat{P}} t] (see Figure 2 center);

  • YY is the set of nodes of (t′⇝P^t](t' \mathop{\rightsquigarrow}\limits^{\hat{P}} t] reachable from ξ1\xi_1 without passing through other nodes of P^\hat{P}; we number the elements of YY as y1,y2,…y_1,y_2,\ldots by following (t′⇝P^t](t' \mathop{\rightsquigarrow}\limits^{\hat{P}} t] (see Figure 2 bottom);

  • Γ\Gamma is the set of nodes of (ξ1⇝C^t′](\xi_1 \mathop{\rightsquigarrow}\limits^{\hat{C}} t'] reachable from ξ1\xi_1 without passing through other nodes of P^\hat{P}; we number the elements of Γ\Gamma as γ1,γ2,…\gamma_1,\gamma_2,\ldots by following (ξ1⇝C^t′](\xi_1 \mathop{\rightsquigarrow}\limits^{\hat{C}} t'] (see Figure 2 bottom).

Remark 4. Notice that, if the cycle CC has only one exit ξ\xi, then e^\hat{e} is necessarily redundant since, starting from ξ\xi, there is no simple path passing through e^\hat{e} that exits CC without passing through ξ\xi. Thus, in the following we assume that there are at least two exits (viz., ξ1\xi_1 and ξ^\hat{\xi}).

Sufficient Conditions for Vulnerability

Assume that we fixed ε∗\varepsilon^*, CC and P∗P^* as described in the previous section. We are now ready to provide the 7 conditions and prove that they all imply vulnerability of the net; in the next section, we shall provide algorithms for checking each of them in time that is linear in the number of edges of the net.

Definition 5. Each condition is a property of the underlying graph GG:

A1(G)≜GA_1(G) \triangleq G has at least one xix_i

A2(G)≜∃ξi,ωj s.t. ∃Pi=ξi⇝tA_2(G) \triangleq\exists\xi_i,\omega_j\ \text{s.t.}\ \exists P_i=\xi_i\rightsquigarrow t in G∖{ωj}G\setminus\{\omega_j\}

A3(G)≜ε1∈(ξ∗⇝Cε∗)A_3(G) \triangleq\varepsilon_1\in(\xi^* \mathop{\rightsquigarrow}\limits^{C}\varepsilon^*) and ∃a∈(ε∗⇝Cξ^]\exists a\in(\varepsilon^* \mathop{\rightsquigarrow}\limits^{C}\hat{\xi}] s.t. ∃P=ε1⇝a\exists P=\varepsilon_1\rightsquigarrow a in G∖{ε∗}G\setminus\{\varepsilon^*\}

A4(G)≜GA_4(G) \triangleq G has at least one yiy_i

A5(G)≜∃γi ∃P=ξ^⇝tA_5(G) \triangleq\exists\gamma_i\ \exists P=\hat{\xi}\rightsquigarrow t s.t. P˚∩(C∪{γi})=∅\mathring{P}\cap(C\cup\{\gamma_i\})=\varnothing

A6(G)≜∃ξi,ξjA_6(G) \triangleq\exists\xi_i,\xi_j with i<ji<j and ∃γ,γ′∈(ξ∗⇝P^t]\exists\gamma,\gamma'\in(\xi^* \mathop{\rightsquigarrow}\limits^{\hat{P}}t] such that ∃Pi=ξi⇝γ ∃Pj=ξj⇝γ′\exists P_i=\xi_i\rightsquigarrow\gamma\ \exists P_j=\xi_j\rightsquigarrow\gamma' s.t. P˚i∩(C∪P^)=∅\mathring{P}_i\cap(C\cup\hat{P})=\varnothing and P˚j∩(C∪P^)=∅\mathring{P}_j\cap(C\cup\hat{P})=\varnothing, for which it holds that either (I) γ<P^γ′\gamma<_{\hat{P}}\gamma' or (II) P˚i∩P˚j≠∅\mathring{P}_i\cap\mathring{P}_j\ne\varnothing

A7(G)≜∃ξiA_7(G) \triangleq\exists\xi_i s.t. ∃P=ε∗⇝ξ^\exists P=\varepsilon^*\rightsquigarrow\hat{\xi} in G∖{ξi}∖(ξ∗⇝P^t]G\setminus\{\xi_i\}\setminus(\xi^*\mathop{\rightsquigarrow}\limits^{\hat{P}}t]

Proposition 6. If A1(G)A_1(G) then GG is vulnerable.

Proof. If GG has at least one xix_i, it means that there exist a path P=s⇝xiP=s\rightsquigarrow x_i s.t. P˚∩(C∪P^)=∅\mathring{P}\cap(C\cup\hat{P})=\varnothing. Moreover ξ1∉P\xi_1\notin P and xi<t′x_i< t' on (ξ1⇝Cξ^⇝P^t′)(\xi_1\mathop{\rightsquigarrow}\limits^{C}\hat{\xi}\mathop{\rightsquigarrow}\limits^{\hat{P}}t'). Let s′s' be the last intersection along PP with P∗P^*, and call P′=s′⇝PxiP'=s'\mathop{\rightsquigarrow}\limits^{P}x_i. Let P1=ξ1⇝t′P_1=\xi_1\rightsquigarrow t'; by minimality of ε∗\varepsilon^*, we have that P1∩P∗=∅P_1\cap P^*=\varnothing. Let aa be the first intersection along P′P' with P1P_1, if any.

If xi∈(ξ1⇝Cξ^]x_i\in(\xi_1\mathop{\rightsquigarrow}\limits^{C}\hat{\xi}], then we have two cases:

  1. If P1P_1 and P′P' are disjoint, we are in the situation depicted to the left and the stst-embedding of WW, needed to prove vulnerability of GG, can be found as depicted to the right (notice that the paths are all disjoint):

Figure 3.

  1. If P1P_1 and P′P' intersect (and so the a^\hat{a} defined above exists), then:

Figure 4 (PDF p. 8).

Finally, if xi∈[ξP^⇝t′)x_i \in[\xi\mathrel{\hat{P}} \rightsquigarrow t') we work in the same way; the only difference is that ξ^\hat{\xi} now belongs to ξ1⇝xi\xi_1 \rightsquigarrow x_i.

Proposition 7. 1. If A2(G)A_2(G) then GG is vulnerable;

  1. If ¬A2(G)\neg A_2(G) then in GG all simple paths P=ωj⇝tP = \omega_j \rightsquigarrow t do not touch CC.

Proof. For the first claim, if such an ωj\omega_j exists, then there is a P=s⇝ωjP = s \rightsquigarrow\omega_j s.t. P˚∩P^=∅\mathring{P} \cap\hat{P} = \varnothing and P∩C=∅P \cap C = \varnothing. Let s′s' be the last intersection between P∗P^* and PP along PP. By minimality of ε∗\varepsilon^*, we have that Pi∩P∗=∅P_i \cap P^* = \varnothing and (s′⇝ωj]∩P∗=∅(s' \rightsquigarrow\omega_j] \cap P^* = \varnothing.

Let aa be the first intersection along PiP_i with PP, if any; otherwise, let aa be the first intersection after ωj\omega_j along PiP_i with P^\hat{P}. In both cases, let Pi′=ξiPi^⇝aP_i' = \xi_i \mathrel{\hat{P_i}} \rightsquigarrow a and bb be the last intersection along Pi′P_i' with [ξ1C⇝ξ^P^⇝ωj)[\xi_1 \mathrel{C} \rightsquigarrow\hat{\xi} \mathrel{\hat{P}} \rightsquigarrow\omega_j); let Pi′′=bPi^⇝aP_i'' = b \mathrel{\hat{P_i}} \rightsquigarrow a.

Figure 5 (PDF p. 8).

If PiP_i and PP are not disjoint, we are in the situation to the left1 and we can find an stst-embedding of WW as depicted to the right (since the paths are all disjoint):

Otherwise:

Figure 6.

We then prove the second claim. By contradiction, let P=ωj⇝tP = \omega_j \rightsquigarrow t be a simple path that touches CC. The only way to exit CC is using some ξi\xi_i and, since PP is simple, there exists some Q=ξi⇝tQ = \xi_i \rightsquigarrow t s.t. ωj∉Q\omega_j \notin Q. Since ξ1C⇝ξi\xi_1 \mathrel{C} \rightsquigarrow\xi_i always exists, this would imply A2(G)A_2(G), since there would be a path ξ1C⇝ξiQ⇝t\xi_1 \mathrel{C} \rightsquigarrow\xi_i \mathrel{Q} \rightsquigarrow t in G∖{ωj}G \setminus\{\omega_j\}.

Proposition 8. If A3(G)A_3(G) then GG is vulnerable.

Proof. Let P1=s⇝ε1P_1 = s \rightsquigarrow\varepsilon_1 be such that P1∩P^=∅P_1 \cap\hat{P} = \varnothing and P˚1∩C=∅\mathring{P}_1 \cap C = \varnothing (one surely exists since ε1∈E\varepsilon_1 \in\mathcal{E}). Let s′s' be the last node of P∗P^* along P1P_1 and b∈Cb \in C be the last node of PP before aa on [ε1C⇝ε∗)[\varepsilon_1 \mathrel{C} \rightsquigarrow\varepsilon^*). Also, let cc be the last node of P1P_1 along PP after bb (and before aa), if any. If b⇝Pab \overset{P}{\leadsto} a and s⇝P1ε1s \overset{P_1}{\leadsto} \varepsilon_1 are disjoint, then we are in the situation depicted at left and we have the stst-embedding of W\mathcal{W} depicted at right:

Figure 7.

Otherwise:

Figure 8.

Proposition 9. If A4(G)A_4(G) then GG is vulnerable.

Proof. If GG has at least one yiy_i, then there exists a P=ξ1⇝yiP = \xi_1 \leadsto y_i with P˚∩P^=∅\mathring{P} \cap\widehat{P} = \varnothing. Let ξj\xi_j be the last node of CC along PP; we define P′=ξj⇝PyiP' = \xi_j \overset{P}{\leadsto} y_i and P1=ξ1⇝t′P_1 = \xi_1 \leadsto t'. Since t′<P^yit' <_{\widehat{P}} y_i and there is no Q=ξ1⇝yiQ = \xi_1 \leadsto y_i s.t. Q˚∩C=∅\mathring{Q} \cap C = \varnothing (by maximality of t′t'), then P′∩P1=∅P' \cap P_1 = \varnothing, (P′˚∪P1˚)∩P∗=∅(\mathring{P'} \cup\mathring{P_1}) \cap P^* = \varnothing and (P′˚∪P1˚)∩P^=∅(\mathring{P'} \cup\mathring{P_1}) \cap\widehat{P} = \varnothing. Thus, we are in the situation depicted at left and we can find an stst-embedding of W\mathcal{W} as depicted to the right:

Figure 9.

Proposition 10. If A5(G)A_5(G) then GG is vulnerable.

Proof. Since a γi\gamma_i exists, then there exists a Pi=ξj⇝γiP_i = \xi_j \leadsto\gamma_i s.t. Pi˚∩C=∅\mathring{P_i} \cap C = \varnothing. By minimality of ε∗\varepsilon^*, it holds that (P∪Pi)∩P∗=∅(P \cup P_i) \cap P^* = \varnothing. Let aa be the first node of PP along PiP_i, if any; otherwise, let aa be the first node of PP along P^\widehat{P} (notice that a>P^γia >_{\widehat{P}} \gamma_i – at most aa is tt). Let P′=b⇝PaP' = b \overset{P}{\leadsto} a, where bb is the last node of PP along P^\widehat{P} before aa; thus, P′˚∩(P^∪Pi)\mathring{P'} \cap(\widehat{P} \cup P_i).

Since P′˚∩Pi=∅\mathring{P'} \cap P_i = \varnothing and P′˚∩P^=∅\mathring{P'} \cap\widehat{P} = \varnothing, we can find an stst-embedding of W\mathcal{W}. The case in which b⇝P′ab \overset{P'}{\leadsto} a and PiP_i are disjoint is given to the left and the stst-embedding of W\mathcal{W} at the right:

Figure 10.

The case in which b⇝P′ab \overset{P'}{\leadsto} a and PiP_i intersect is given below:

Figure 11.

Figure 12.

Note that P^⇝γi\hat{P} \rightsquigarrow\gamma_i, a⇝γia \rightsquigarrow\gamma_i (in the intersection case) and γi⇝a\gamma_i \rightsquigarrow a (in the disjoint case) are all not empty, since γi∉P\gamma_i \notin P.

Proposition 11. If A6(G)A_6(G) then GG is vulnerable.

Proof. By minimality of ε∗\varepsilon^*, it holds that (Pi∪Pj)∩P∗=∅(P_i \cup P_j) \cap P^* = \varnothing. Let c∈P˚i∩P˚jc \in\mathring{P}_i \cap\mathring{P}_j be the first node of PjP_j along PiP_i, if any. We show the st-embedding of WW for both cases; note that all the paths considered are disjoint by definition.

If P˚i∩P˚j=∅\mathring{P}_i \cap\mathring{P}_j = \varnothing, then:

Figure 13.

otherwise:

Figure 14.

Proposition 12. If A7(G)A_7(G) then GG is vulnerable.

Proof. Let a∈[ε∗⇝Pξi)a \in[\varepsilon^* \mathop{\rightsquigarrow}\limits^{P} \xi_i) be the last node of PP before touching the first node b∈(ξi⇝Cξ^]b \in(\xi_i \mathop{\rightsquigarrow}\limits^{C} \hat{\xi}]. Let Pi=ξi⇝tP_i = \xi_i \rightsquigarrow t be the exit path from ξi\xi_i and cc be the first intersection of PiP_i along P^\hat{P}. Let dd be the first intersection of a⇝Pba \mathop{\rightsquigarrow}\limits^{P} b along ξi⇝Pic\xi_i \mathop{\rightsquigarrow}\limits^{P_i} c, if any.

If a⇝Pba \mathop{\rightsquigarrow}\limits^{P} b and ξi⇝Pic\xi_i \mathop{\rightsquigarrow}\limits^{P_i} c are disjoint, then:

Figure 15.

otherwise:

Figure 16.

:::

Main Theorem

Theorem 13. If no Ai(G)A_i(G) holds, for i=1,…,7i = 1, \ldots, 7, then e^\hat{e} is redundant in GG.

Proof. By contradiction, assume that e^\hat{e} is irredundant; so there exists a (simple) path P=s⇝Pξ^⇝ξ^ξi⇝tP = s \mathrel{\overset{P}{\leadsto}} \hat{\xi} \mathrel{\overset{\hat{\xi}}{\leadsto}} \xi_i \mathrel{\leadsto} t, for some ii, such that e^\hat{e} is the first edge in ξ^⇝Pξi\hat{\xi} \mathrel{\overset{P}{\leadsto}} \xi_i. Let εp\varepsilon_p be the first intersection along PP with CC; we call P1=s⇝PεpP_1 = s \mathrel{\overset{P}{\leadsto}} \varepsilon_p, P2=εp⇝Pξ^P_2 = \varepsilon_p \mathrel{\overset{P}{\leadsto}} \hat{\xi} and P3=ξ^⇝PtP_3 = \hat{\xi} \mathrel{\overset{P}{\leadsto}} t. It holds that P1∩P^=∅P_1 \cap\hat{P} = \varnothing since:

  • P1∩[ξ^⇝t′)=∅P_1 \cap[\hat{\xi} \mathrel{\leadsto} t') = \varnothing, otherwise εp\varepsilon_p would be an xix_i (and so A1(G)A_1(G) would hold);

  • P1∩[t′⇝t]=∅P_1 \cap[t' \mathrel{\leadsto} t] = \varnothing, otherwise P1∩[t′⇝t]=ωjP_1 \cap[t' \mathrel{\leadsto} t] = \omega_j, for some jj; by Proposition 7(2) there cannot exist an acyclic ωj⇝t\omega_j \mathrel{\leadsto} t that touches CC, in contradiction with acyclicity of PP.

Because ¬A1(G)\neg A_1(G), we have that εp∉(ξ1⇝Cξ^]\varepsilon_p \notin(\xi_1 \mathrel{\overset{C}{\leadsto}} \hat{\xi}]; moreover, we know that εp∈E\varepsilon_p \in\mathcal{E}. Thus, εp∈[ξ^⇝Cξ1]\varepsilon_p \in[\hat{\xi} \mathrel{\overset{C}{\leadsto}} \xi_1]; by definition of ε1\varepsilon_1, we have that εp∈[ε1⇝Cξ1]\varepsilon_p \in[\varepsilon_1 \mathrel{\overset{C}{\leadsto}} \xi_1]. If εp∈[ε1⇝Cε∗)\varepsilon_p \in[\varepsilon_1 \mathrel{\overset{C}{\leadsto}} \varepsilon^*), all simple paths εp⇝ξ^\varepsilon_p \leadsto\hat{\xi} would pass through ε∗\varepsilon^*, by ¬A3(G)\neg A_3(G); in that case, we can set εp=ε∗\varepsilon_p = \varepsilon^* and let P∗P^* play the role of P1P_1, and all what follows still works, since P2P_2 and P3P_3 are disjoint from P∗P^*, by minimality of ε∗\varepsilon^*. Hence, let us now consider the case in which εp∈[ε∗⇝Cξ1]\varepsilon_p \in[\varepsilon^* \mathrel{\overset{C}{\leadsto}} \xi_1].

Since εp\varepsilon_p is the first node of P2P_2, by ¬A7(G)\neg A_7(G) we know that P2∩P^≠∅P_2 \cap\hat{P} \ne\varnothing; let γk\gamma_k be the first intersection along P2P_2. In particular, by ¬A4(G)\neg A_4(G), we know that γk∈(ε∗⇝P^t′]\gamma_k \in(\varepsilon^* \mathrel{\overset{\hat{P}}{\leadsto}} t']. Since ξi∉P2\xi_i \notin P_2 (indeed, it belongs to P3P_3), we consider ξˉ\bar{\xi}, the last node of CC touched by P2P_2 before γk\gamma_k. By ¬A7(G)\neg A_7(G), we have that ξˉ∈[ξ1⇝Cξi)\bar{\xi} \in[\xi_1 \mathrel{\overset{C}{\leadsto}} \xi_i) and all the ξj∈[εp⇝Cξˉ]\xi_j \in[\varepsilon_p \mathrel{\overset{C}{\leadsto}} \bar{\xi}] are in P2P_2.

By ¬A6(G)\neg A_6(G), all paths P′P' from ξi\xi_i to tt that do not contain γk\gamma_k must be such that P′∩[ξi⇝C∪P^γk]≠∅P' \cap[\xi_i \mathrel{\overset{C \cup\hat{P}}{\leadsto}} \gamma_k] \ne\varnothing. Fix one of these P′P' and let aa be the first internal intersection along it with [ξi⇝C∪P^γk][\xi_i \mathrel{\overset{C \cup\hat{P}}{\leadsto}} \gamma_k]; clearly, ξ^<P^a<P^γk\hat{\xi} \mathrel{\overset{\hat{P}}{<}} a \mathrel{\overset{\hat{P}}{<}} \gamma_k. This however implies A5(G)A_5(G), since ξ^⇝P^a⇝P′t\hat{\xi} \mathrel{\overset{\hat{P}}{\leadsto}} a \mathrel{\overset{P'}{\leadsto}} t is a path that does not contain γk\gamma_k. Contradiction.

Algorithmic Checking the Sufficient Conditions

In this section we present the linear-time algorithms that check the conditions A1,…,A7A_1,\ldots,A_7. In what follows, when we perform a visit, we say that a node is a sink if we ignore all the edges that leave that node and we force to backtrack from that node.

To make the presentation lighter, we present four algorithms that, together, will contribute to the cycle analysis and to the final outcome (i.e., the graph is vulnerable or a redundant edge is found). However, in doing this, we need to classify nodes and edges as described in § 4.1, label them accordingly and keep this labeling throughout the execution of these various algorithms. Hence, the graph GG is a sort of “global” variable, that different algorithms access by reading and modifying the labels of nodes and edges.

For space reasons, all the proofs of this sections are deferred to Appendix § 9.

Checking Conditions A1 and A4

Algorithm 3 receives a graph GG, where some nodes and edges have already been labeled as ε∗\varepsilon^*, CC and P∗P^*, and it adds some extra labels to identify all the nodes and paths listed in § 4.1 (notice that some nodes may have more than one label). In doing this, it first checks if there are at least two exits (line 2), otherwise it returns that e^\hat{e} is redundant (see Remark 4). Also, it checks A1A_1 and A4A_4, by returning VULN⁡\operatorname{VULN} if any xix_i or yiy_i is found (see lines 7 and 11, respectively). Clearly, the cost is O(m)O(m), since we are just performing a number of visits, and it correctly labels nodes according to the name conventions given in § 4.1.

▸ Proposition 14. FindNodes⁡(G)\operatorname{FindNodes}(G) returns VULN⁡\operatorname{VULN} if and only if A1(G)∨A4(G)A_1(G) \lor A_4(G).

Algorithm 3 FindNodes(GG)

Require: ε∗\varepsilon^* and all the nodes and edges of CC and P∗P^* are labelled in GG

  1. Compute the set Ξ\Xi of exits, by performing a backward visit from tt that considers all nodes in CC as sinks

  2. if ∣Ξ∣=1|\Xi| = 1 then return ε^\hat{\varepsilon} /* ε^\hat{\varepsilon} is redundant */

  3. Sequentially order Ξ\Xi by performing a visit from ε∗\varepsilon^* along CC and label each of its nodes as ξ1,ξ2,…,ξ^\xi_1,\xi_2,\ldots,\hat{\xi}

  4. Perform a visit from ξ^\hat{\xi} considering all the nodes labelled with CC as sinks and find a simple path between ξ^\hat{\xi} and tt; label all the nodes and edges of this path with P^\hat{P}

  5. Perform a visit from ξ1\xi_1 considering all nodes labelled with either P^\hat{P} or CC as sinks; the last node reached on P^\hat{P} (the closest to tt) is labelled with t′t'

  6. for all node vv visited in a visit started from ss do

  7. if v∈(ξ1⇝Cξ^⇝P^t′)v \in(\xi_1 \mathrel{\mathop{\leadsto}\limits^C} \hat{\xi} \mathrel{\mathop{\leadsto}\limits^{\hat{P}}} t') then return VULN\mathsf{VULN} /* A1(G)A_1(G) holds */

  8. if v∈[t′⇝P^t]v \in[t' \mathrel{\mathop{\leadsto}\limits^{\hat{P}}} t] then consider vv a sink and add it to Ω\Omega

  9. if v∈C∖(ξ1⇝Cξ^]v \in C \setminus(\xi_1 \mathrel{\mathop{\leadsto}\limits^C} \hat{\xi}] then consider vv a sink and add it to EE

  10. for all node vv visited in a visit started from ξ1\xi_1 do

  11. if v∈(t′⇝P^t]v \in(t' \mathrel{\mathop{\leadsto}\limits^{\hat{P}}} t] then return VULN\mathsf{VULN} /* A4(G)A_4(G) holds */

  12. if v∈(ξ^⇝P^t′]v \in(\hat{\xi} \mathrel{\mathop{\leadsto}\limits^{\hat{P}}} t'] then consider vv a sink and add it to Γ\Gamma

  13. Sequentially order Ω\Omega by performing a visit from t′t' along [t′⇝P^t][t' \mathrel{\mathop{\leadsto}\limits^{\hat{P}}} t] and label each of its nodes as ω1,ω2,…\omega_1,\omega_2,\ldots

  14. Sequentially order EE by performing a visit from ξ^\hat{\xi} along (ξ^⇝Cξ1](\hat{\xi} \mathrel{\mathop{\leadsto}\limits^C} \xi_1] and label each of its nodes as ε1,ε2,…\varepsilon_1,\varepsilon_2,\ldots

  15. Sequentially order Γ\Gamma by performing a visit from ξ^\hat{\xi} along (ξ^⇝P^t′](\hat{\xi} \mathrel{\mathop{\leadsto}\limits^{\hat{P}}} t'] and label each of its nodes as γ1,γ2,…\gamma_1,\gamma_2,\ldots

Checking Condition A3

Algorithm 4 checks condition A3A_3 by first checking whether ε1∈[ε∗⇝Cξ^]\varepsilon_1 \in[\varepsilon^* \mathrel{\mathop{\leadsto}\limits^C} \hat{\xi}] and, if not, by performing a single visit of G∖{ε∗}G \setminus\{\varepsilon^*\} from ε1\varepsilon_1. Its cost is clearly O(m)O(m).

Proposition 15. NoBadChord(GG) returns VULN\mathsf{VULN} if and only if A3(G)A_3(G).

Checking Conditions A2, A5 and A7

Algorithm 5 takes in input a graph HH and some of its nodes a0,…,aka_0,\ldots,a_k that lie along the same simple path that ends in node aa and checks whether there is a path from some aia_i to aa that does not touch some other aja_j. According to how we instantiate HH, a0,…,aka_0,\ldots,a_k and aa, we will be able to check conditions A2A_2, A5A_5 and A7A_7. Notice that the cost of the algorithm is O(m)O(m), since we do not delete the flag to the visited edges: we are, in fact, performing one single visit of HH.

Proposition 16. Let HH be a graph and a0,…,aka_0,\ldots,a_k be k+1k+1 nodes of HH that lie on a simple path that terminates in node aa. Then, NoJumps(H,a0,…,ak,aH,a_0,\ldots,a_k,a) returns VULN\mathsf{VULN} if and only if ∃ai ∃P=ai⇝a ∃j>i\exists a_i\ \exists P = a_i \mathrel{\leadsto} a\ \exists j > i such that aj∉Pa_j \notin P.

We can now use NoJumps with proper inputs to check A2A_2, A5A_5 and A7A_7:

  • For A2A_2, we invoke NoJumps(G,ξ1,ω1,…,ωk,tG,\xi_1,\omega_1,\ldots,\omega_k,t). Indeed, we observe that ∃i,j\exists i,j such that ∃Pi=ξi⇝t\exists P_i = \xi_i \mathrel{\leadsto} t in G∖{ωj}G \setminus\{\omega_j\} if and only if ∃j\exists j such that ∃P=ξ1⇝t\exists P = \xi_1 \mathrel{\leadsto} t in G∖{ωj}G \setminus\{\omega_j\}: the

Algorithm 4 NoBadChord(GG)

Require: In GG all nodes and edges are labelled as described in § 4.1

  1. if ε1∈[ε∗⇝Cξ^]\varepsilon_1 \in[\varepsilon^* \mathrel{\overset{\mathcal{C}}{\leadsto}} \hat{\xi}] then return NotVuln

  2. for all node vv visited in a visit started from ε1\varepsilon_1 in G∖{ε∗}G \setminus\{\varepsilon^*\} do

  3. if v∈(ε∗⇝Cξ^]v \in(\varepsilon^* \mathrel{\overset{\mathcal{C}}{\leadsto}} \hat{\xi}] then return Vuln /* A3(G)A_3(G) holds */

  4. return NotVuln

Algorithm 5 NoJumps(H,a0,…,ak,aH, a_0, \ldots, a_k, a)

Require: a0,…,aka_0, \ldots, a_k are vertices of HH that lie along one simple path that ends in aa

  1. for i=0i = 0 to k−1k - 1 do

  2. Perform a visit from aia_i considering ai+1a_{i+1} a sink and flag all visited edges

  3. if the visit reaches aa then return Vuln

  4. When no edge can be visited, quit the visit but leave the flag on the edges

  5. return NotVuln

left-to-right implication holds because we can pass on C\mathcal{C} from ξ1\xi_1 and reach any ξi\xi_i; the other implication holds by definition (choose i=1i = 1).

  • For A5A_5, we invoke NoJumps(G∖(ξ∗⇝Cξ^),ξ^,γ1,…,γk,tG \setminus(\xi^* \mathrel{\overset{\mathcal{C}}{\leadsto}} \hat{\xi}), \hat{\xi}, \gamma_1, \ldots, \gamma_k, t).

  • For A7A_7, we invoke NoJumps(G∖(ξ∗⇝Pξ^),ε∗,ξ1,…,ξk,ξ^G \setminus(\xi^* \mathrel{\overset{\mathcal{P}}{\leadsto}} \hat{\xi}), \varepsilon^*, \xi_1, \ldots, \xi_k, \hat{\xi}), where ξk\xi_k is the exit before ξ^\hat{\xi} (at most k=1k = 1, since we are assuming to have at least two exits).

Checking Condition A6A_6

Algorithm 6 first assigns to each node in P^\hat{P} its order along that path; this is needed to check condition (I) of A6A_6 in constant time. Then, we start a visit from each of the kk exits; in the visit from the generic ξi\xi_i, we keep track of the visited node of P^\hat{P} which is closer to ξ^\hat{\xi}, if any. If it exists, this node is one of the γi\gamma_i’s and we record it (actually, its order along P^\hat{P}) in variable ClosGamma; in this way, we know that there is a simple path from ξi\xi_i to that node, internally disjoint from P^\hat{P} (being the nodes of P^\hat{P} sinks of the visit). Since we want that such paths are disjoint also from C\mathcal{C}, we also consider all the nodes of C\mathcal{C}, except for ξi\xi_i, as sinks. For every node not belonging to P^∪C\hat{P} \cup\mathcal{C} that is touched for the first time in the current visit, we mark it with ii; for every node that has already been touched in one previous visit (say hh), we update its mark with the pair (h,i)(h,i); for every node which has been touched more than once, the mark does not change. Indeed, to check A6A_6 we should be able to ascertain whether there are (at least) two different exits with intersecting simple paths that lead to P^\hat{P}.

Whenever we reach a node of P^\hat{P}, we check if that node appears along P^\hat{P} after the γ\gamma with minimum order oo calculated in the previous iterations (as recorded in ClosGamma); if this is the case, then condition (I) of A6A_6 is met and the algorithm returns Vuln; otherwise, we need to upload the minimum. Since we can reach different nodes of P^\hat{P} during the visit from ξi\xi_i and we need to compare their order with the order of the minimum from the previous iterations, we save the (order of the) provisory minimum of the iteration in ClosGammaProv and upload ClosGamma only at the end of the iteration. When the visit from ξi\xi_i is completed, since we want a linear-time algorithm, we keep the flagging on the crossed edges and start a new visit from the following exit.

Algorithm 6 OrderedExits(GG)

Require: In $G$ all nodes and edges are labelled as described in Section 4.1
1: Assume that $|\Xi| = k$
2: for each node $v$ of $\hat{P}$ do
3:   Define $o[v]$ the position of $v$ in the path
4:   ClosGamma = $o[t']$
5:   ClosGammaProv = $o[t']$
6:   for $i = 1$ to $k$ do
7:     Perform a visit from $\xi_i$ by
8:       (a) not crossing edges that are flagged, and
9:       (b) flagging all the newly crossed edges, and
10:      (c) considering $\hat{P}$ and $C \setminus \{\xi_i\}$ as sinks
11:    for all $v$ touched in the visit do
12:      if $v$ is not marked and $v \notin \hat{P} \cup C$ then mark $v$ with $i$
13:      if $v$ is marked with $h < i$ then mark $v$ with $(h,i)$
14:      if $v \in \hat{P}$ then
15:        if $o[v] > ClosGamma$ then return VULN /* $A_6(G)$(I) holds */
16:        if $o[v] < ClosGammaProv then ClosGammaProv = $o[v]$
17:    At the end of the visit, do not remove the flags on the crossed edges
18:    ClosGamma = ClosGammaProv
19:    Cancel all the flags on edges
20:    for all $v \in \hat{P}$ do
21:      Perform a backwards visit from $v$ by
22:        (a) not crossing edges that are flagged, and
23:        (b) flagging all the newly crossed edges, and
24:        (c) considering $\hat{P} \setminus \{v\}$ and $C$ as sinks
25:      if find a node marked with a pair then return VULN /* $A_6(G)$(II) holds */
26:    At the end of the visit, do not remove the flags on the crossed edges
27:    return NOTVULN

After the for-loop, the nodes marked with pairs are the candidates to satisfy condition (II) of A6A_6; however, not all of them can have paths leading to some γ∈P^\gamma\in\hat{P}. To see this, consider the following example:

Figure 1 (PDF p. 14).

In the visit from ξi\xi_i, the algorithm follows the green edges and marks the nodes not belonging to P^∪C\hat{P} \cup C with ii; in particular, nodes bb and cc are marked with ii. Then, in the visit from ξj\xi_j, it crosses the grey edges and marks with jj; in particular, bb and cc are now marked with the pair (i,j)(i,j). However, bb is a point where two simple paths ξi⇝γ\xi_i \leadsto\gamma and ξj⇝γ\xi_j \leadsto\gamma (both internally disjoint from P^\hat{P} and CC) intersect, whereas cc is not. Hence, the aim of the final backward visit performed by the algorithm starting from all the nodes of P^\hat{P} is exactly to identify any node marked with a pair that has a path to some γ∈P^\gamma\in\hat{P}, if any. In the previous example, the algorithm finds, during the backward visit from γ\gamma, only bb, and so it correctly returns VULN

Algorithm 7 FindACycle(G)

  1. Find all the strong connected components (SCCSCCs) of GG

  2. if all SCCSCCs are trivial (the graph is acyclic) then return acyclic

  3. Perform a BFSBFS from ss to find a closest vertex to ss that belongs to a non-trivial SCCSCC; label it as ε∗\varepsilon^{*}

  4. Label all the nodes and edges of the shortest path from ss to ε∗\varepsilon^{*} with P∗P^{*}

  5. Find a cycle containing ε∗\varepsilon^{*} and label all its nodes and edges with CC

  6. return cyclic

in line 25; in contrast it (correctly) does not find cc. Also in this backward visit, we avoid crossing the same edge more than once, by keeping the flag on the edges already crossed. This ensures that the overall cost of the algorithm is O(m)O(m), as it consists in two visits of the graph.

Proposition 17. OrderedExits(G)OrderedExits(G) returns Vuln if and only if A6(G)A_{6}(G).

A Linear-time Amortized Decremental Algorithm

To get a linear-time amortized algorithm, we provide suitable versions of functions FindACycleFindACycle and SearchWSearchW, called in Algorithm 1 of Section 3. As in [8], it is essential that the cycle choosen by FindACycleFindACycle is (one of) the cycle(s) closest to ss: this is what Algorithm 7 does, by following the decomposition of a digraph in its strongly connected components (SCCSCCs). It works in O(m)O(m) since finding SCCSCC is linear [27] and the other operations are just visits.

Once we found CC (and, correspondingly, ε∗\varepsilon^{*} and P∗P^{*}), we invoke the functions developed in Section 5 to label the graph and analyze the cycle; this is done by function SearchWSearchW in Algorithm 8, by using Algorithms 3, 4, 5 and 6. Since all the algorithms invoked cost O(m)O(m), the cost of the algorithm itself is O(m)O(m).

Theorem 18. If Algorithm 8 returns Vuln, then the net is vulnerable. If Algorithm 8 returns e^\hat{e}, then e^\hat{e} is redundant.

Proof. If the algorithm returns Vuln, then one among Algorithms 3, 4, 5 or 6 returned Vuln. By Propositions 14, 15, 16 and 17, there exists some i∈{1,…,7}i \in\{1,\ldots,7\} s.t. Ai(G)A_i(G) holds; thus, GG is vulnerable, by one among Propositions 6, 7(1), 8, 9, 10, 11 and 12. Conversely, if the algorithm returns e^\hat{e}, then either there is just one exit, and so by Remark 4 e^\hat{e} is redundant, or none of Algorithms 3, 4, 5 or 6 returned Vuln. By Propositions 14, 15, 16 and 17, we know that Ai(G)A_i(G) does not hold, for any i∈{1,…,7}i \in\{1,\ldots,7\}. By Theorem 13, e^\hat{e} is redundant.

As described in Section 3, function isVulnisVuln in Algorithm 1 is a decremental algorithm, just calling it on the graph G∖{e}G \setminus\{e\}, being ee the edge to be removed, while Algorithm 2 summarizes how to keep information about redundant edges already discovered by function isVulnisVuln in a sequence of edge removals. Function isVulnisVuln is invoked k∈O(m)k \in O(m) times; the total cost of such invocations is O(m2)O(m^2), because it consists in at most O(m)O(m) invocations of Algorithms 7 and 8. Hence, the decremental test for vulnerability has an amortized complexity of O(m)O(m) for every removed edge, by assuming k∈O(m)k \in O(m) edge removals.

Conclusions

In this paper, we have improved the “hunting W\mathcal{W} in cycles” strategy underlying the algorithm in [8] and shown that it can work in O(m2)O(m^2) (instead of O(nm2)O(nm^2)). Moreover, we have shown that, irrespective of which of the two versions one wants to use, the approach can be used

Algorithm 8 SearchW(G)
Require: ε* and all the nodes and edges of C and P* are labelled in G
1: if FindNodes(G) returns VULN then return VULN
2: if it returns ê then return ê
3: if any of
4:     NoBadChord(G)
5:     NoJumps(G, ξ₁, ω₁, ..., ωₖ, t)
6:     NoJumps(G \ (ξ̂ ⇝ ξ̂), ξ̂, γ₁, ..., γₖ, t)
7:     NoJumps(G \ (ξ̂ ⇝ t], ε*, ξ₁, ..., ξₖ, ξ̂)
8:     OrderedExits(G)
9: returns VULN
10: then return VULN
11: else return ê

to develop a decremental algorithm, able to ascertain the vulnerability condition upon edges removals.

This paper complements a companion paper [14], where an incremental algorithm is presented; these can be used when the considered net evolves in time by removing/adding connections among nodes. Interestingly, the incremental algorithm in [14] and the decremental algorithm presented here are in some sense dual: the incremental one is based on the series-parallel irredundant non-vulnerable part of the graph and takes advantage of the algorithm in [19]; the decremental one is based on hunting redundant edges and a cycle analysis along the lines of [8]. In both cases, the static algorithms are O(m2)O(m^2), whereas the dynamic algorithms are O(m)O(m) amortized for each edge insertion/removal.

The obvious direction for future research is the development of a fully dynamic approach, where edge additions and removals may interleave in an arbitrary way. As usual in the setting of dynamic algorithms, this is the most challenging problem. In our case, vulnerability is preserved under edge additions and non-vulnerability is preserved under edge removals; such a ‘monotonicity’ is lost if we interleave additions and removals.

Traffic Networks, Braess Paradox and Vulnerability

The set of stst-paths in GG is denoted by P(G)\mathcal{P}(G); the set of simple stst-paths is denoted by SP(G)\mathcal{SP}(G).

A flow for a net (G,s,t)(G,s,t) is a function φ:SP(G)→R+\varphi:\mathcal{SP}(G)\to\mathbb{R}^{+}. The value of a flow is the sum of the values sent over all paths. A flow induces a unique flow φ(e)\varphi(e) on edges: for any edge e∈Ee\in E, φ(e)=∑P∈SP(G):e∈Pφ(P)\varphi(e)=\sum_{P\in\mathcal{SP}(G):e\in P}\varphi(P).

A latency function le:R+→R+l_e:\mathbb{R}^{+}\to\mathbb{R}^{+} assigns to each edge ee a latency as a function of the flow in it; as usual, we only consider continuous and non-decreasing latency functions.

The latency of an stst-path PP under a flow φ\varphi is the sum of the latencies of all edges in the path under φ\varphi, i.e., lP(φ)=∑e∈Ple(φ(e))l_P(\varphi)=\sum_{e\in P}l_e(\varphi(e)). If HH is a subgraph of GG, we denote with l∣Hl|_H the restriction of the latency function ll on the edges of HH.

Given a net GG, a real number r∈R+r\in\mathbb{R}^{+} and a latency function ll, we call the triple (G,r,l)(G,r,l) an instance (of GG). A flow φ\varphi is feasible for (G,r,l)(G,r,l) if the value of φ\varphi is rr. Notice that, since we do not have any constraint on edges or vertices, every rr admits at least one feasible flow.

A feasible flow φ\varphi for (G,r,l)(G,r,l) is at Wardrop equilibrium (or is a Wardrop flow) if, for all stst-paths PP and QQ such that φ(P)>0\varphi(P)>0, we have lP(φ)≤lQ(φ)l_P(\varphi)\le l_Q(\varphi). In particular, this implies that, if φ\varphi is a Wardrop flow, all stst-paths to which φ\varphi assigns a positive flow have the same latency. It is known [26] that every instance admits a Wardrop flow and that different Wardrop flows for the same instance have the same latency along all stst-paths with a positive flow. Thus, we denote with L(G,r,l)L(G,r,l) the latency of all stst-paths with positive flow at Wardrop equilibrium; whenever r=0r=0, we let L(G,r,l)L(G,r,l) be 00.

Braess paradox [3, 6] originates when latency at Wardrop equilibrium decreases because of removing some edges (or equivalently, by increasing latency functions on them): an instance (G,r,l)(G,r,l) suffers from Braess paradox if a subgraph of GG exists with a lower latency. In [26] it is shown that it is NPNP-hard to decide whether or not an instance of a net suffers from the Braess paradox. A question raised in [26] is to study the problem from a graph-theoretical perspective, that is whether a net admits instances suffering from the paradox. This leads to the following definition [26].

Definition 19. A net GG is vulnerable if there exist a value rr, a latency function ll and a subgraph HH of GG such that L(G,r,l)>L(H,r,l∣H)L(G,r,l)>L(H,r,l|_H).

To conclude, we also report, for the sake of completeness, the definition of (two-terminal) series-parallel graphs.

Definition 20 (Two-Terminal Series-Parallel Graphs (TTSP) [13]). A graph G=(V,E)G=(V,E), with two distinguished vertices ss and tt, is a TTSP-graph if it can be turned into the single edge (s,t)(s,t) by a sequence of the following operations:

  • Replace a pair of parallel edges with a single edge that connects their common endpoints;

  • Replace a pair of edges (u,w)(u,w) and (w,v)(w,v) with the edge (u,v)(u,v), whenever ww has degree 2 and it is different from ss and tt.

Omitted Proofs from Section 5

Proof of Proposition 14. It suffices to observe that A1(G)A_1(G) means that there is a path P=s⇝xP=s\rightsquigarrow x, with x∈(ξ1⇝Cξ^⇝P^t′)x\in(\xi_1\mathrel{\mathop{\rightsquigarrow}\limits^{C}}\hat{\xi}\mathrel{\mathop{\rightsquigarrow}\limits^{\hat{P}}}t') and P˚∩(C∪P^)=∅\mathring{P}\cap(C\cup\hat{P})=\varnothing; this holds if and only if the visit from ss on line 6 reaches a node which belongs to (ξ1⇝Cξ^⇝P^t′)(\xi_1\mathrel{\mathop{\rightsquigarrow}\limits^{C}}\hat{\xi}\mathrel{\mathop{\rightsquigarrow}\limits^{\hat{P}}}t'). Similarly, A4(G)A_4(G) means that there is a path P=ξ1⇝yP=\xi_1\rightsquigarrow y, with y∈(t′⇝P^t]y\in(t'\mathrel{\mathop{\rightsquigarrow}\limits^{\hat{P}}}t] and P˚∩P^=∅\mathring{P}\cap\hat{P}=\varnothing; this holds if and only if the visit from ξ1\xi_1 on line 10 reaches a node which belongs to (t′⇝P^t](t'\mathrel{\mathop{\rightsquigarrow}\limits^{\hat{P}}}t].

Proof of Proposition 15. (⇐)(\Leftarrow) A3(G)A_3(G) means that ε1∈(ξ^⇝ε∗)\varepsilon_1\in(\hat{\xi}\rightsquigarrow\varepsilon^*) and ∃a∈(ε∗⇝Cξ^]\exists a\in(\varepsilon^*\mathrel{\mathop{\rightsquigarrow}\limits^{C}}\hat{\xi}] s.t. ∃P=ε1⇝a\exists P=\varepsilon_1\rightsquigarrow a in G∖{ε∗}G\setminus\{\varepsilon^*\}. Then, the algorithm reaches a node in (ε∗⇝Cξ^](\varepsilon^*\mathrel{\mathop{\rightsquigarrow}\limits^{C}}\hat{\xi}] with a visit in G∖{ε∗}G\setminus\{\varepsilon^*\} started from ε1\varepsilon_1 and returns VULN (line 3).

(⇒)(\Rightarrow) If the algorithm returns VULN, then ε1∉[ε∗⇝Cξ^]\varepsilon_1\notin[\varepsilon^*\mathrel{\mathop{\rightsquigarrow}\limits^{C}}\hat{\xi}] and the visit is performed; the path PP required by A3A_3 is then composed by all the nodes and edges found backtracking from the node in (ε∗⇝Cξ^](\varepsilon^*\mathrel{\mathop{\rightsquigarrow}\limits^{C}}\hat{\xi}] to ε1\varepsilon_1.

Proof of Proposition 16. (⇒)(\Rightarrow) If the algorithm answers VULN, then the visit starting from some aia_i reached aa without touching ai+1a_{i+1}.

(⇐)(\Leftarrow) We prove the contrapositive. During the ithi^{th} iteration of the for-loop, the following invariant holds: Each simple path that starts from a visited node and that in HH can reach aa passes in ai+1a_{i+1}. This is true since the only possible sink of iteration ii is ai+1a_{i+1} (since we are assuming that the algorithm returns NotVULN) and the iteration i+1i+1 starts from ai+1a_{i+1} (the previous sink), continuing all the branches of the visit previously stopped there. So, at the kthk^{th} iteration, all the simple paths starting from each aia_i that could reach aa in HH pass in aka_k. This means that all the simple paths starting from any aia_i touches all the aja_j with j>ij>i.

Proof of Proposition 17. (⇒)(\Rightarrow) If the algorithm returns VULN in line 15, then it has found two disjoint paths, from two different exits (say, ξi\xi_i and ξj\xi_j, with i<ji<j), that land to different nodes of P^\hat{P} (say, γ\gamma and γ′\gamma', respectively) such that o[γ]<o[γ′]o[\gamma]<o[\gamma']; this means that γ≺P^γ′\gamma\prec_{\hat{P}}\gamma' and so condition (I) of A6A_6 holds. Notice that the algorithm updates ClosGammaClosGamma only at the end of each iteration; so, it is not possible that it answers VULN for two paths from the same ξi\xi_i.

Otherwise, the algorithm must return VULN in line 25; then, there exists some bb marked with a pair (i,j)(i,j) (with i<ji<j) backward reachable from some γ∈P^\gamma\in\hat{P}. Hence, there exist two paths Pi′=ξi⇝bP'_i=\xi_i\rightsquigarrow b and Pj′=ξj⇝bP'_j=\xi_j\rightsquigarrow b such that all internal nodes of Pj′P'_j are marked with jj but not with ii; so, Pi′P'_i and Pj′P'_j are internally disjoint. Since bb is marked with ii, there exists a Pγ=b⇝γP_\gamma=b\rightsquigarrow\gamma with all nodes marked with a pair that has at least one marker that is ii or less. Then, the path P′=ξj⇝b⇝γP'= \xi_j\rightsquigarrow b\rightsquigarrow\gamma is simple, because of the structure of the markers. Let aa be the first node of PγP_\gamma that is in a simple path P′′=ξi⇝a⇝γP''=\xi_i\rightsquigarrow a\rightsquigarrow\gamma (at least one exists, possibly a=ba=b — see the graph depicted in § 5.4). Then, the two paths Pi=ξi⇝P′′a⇝PγγP_i=\xi_i \mathrel{\overset{P''}{\leadsto}} a \mathrel{\overset{P^\gamma}{\leadsto}} \gamma and Pj=ξj⇝Pjb⇝PγγP_j=\xi_j \mathrel{\overset{P_j}{\leadsto}} b \mathrel{\overset{P^\gamma}{\leadsto}} \gamma are both simple and internally intersect in aa; thus, condition (II) of A6A_6 holds.2

(⇐)(\Leftarrow) First, assume that A6(G)A_6(G) holds because of condition (I). If there exist two different exits ξi\xi_i and ξj\xi_j with i<ji<j and two disjoint paths ξi⇝γ\xi_i \leadsto\gamma and ξj⇝γ′\xi_j \leadsto\gamma' with γ<P^γ′\gamma<_{\hat{P}} \gamma', then the algorithm first found γ\gamma and recorded in ClosGammaClosGamma its order in P^\hat{P} (or a smaller order, if the visit from ξi\xi_i found another node of P^\hat{P} preceding γ\gamma) at the end of iteration ii of the for-loop. In the following iterations, ClosGammaClosGamma cannot increase; so, when the algorithm finds γ′\gamma' in iteration jj, it has that o[γ′]>o[γ]≥ClosGammao[\gamma']>o[\gamma]\geq ClosGamma and returns VULN in line 15.

Finally, assume that condition (II) of A6(G)A_6(G) holds; then, there are two paths Pi:ξi⇝γP_i:\xi_i\leadsto\gamma and Pj=ξj⇝γ′P_j=\xi_j\leadsto\gamma' (for i<ji<j and γ,γ′∈P^\gamma,\gamma'\in\hat{P}) that have their first intersection in a node aa. If aa is marked with a pair, then, since γ\gamma is reachable from aa, the backward visit from γ\gamma will find aa and the algorithm returns VULN in line 25. Assume that aa is not marked with a pair. Since aa is reachable from ξj\xi_j, if aa has not been marked with jj, then the visit from ξj\xi_j stopped in a node bb preceding aa and marked with a pair; since bb is reachable from aa, the backward visit from γ\gamma reaches bb and the algorithm returns VULN, like above.3 If aa is marked with jj but not with ii, the proof is analogous. ◀

Figure 17.

The internally intersecting paths are Pi=ξi⇝a⇝γP_i=\xi_i\leadsto a\leadsto\gamma and Pj=ξj⇝b⇝a⇝γP_j=\xi_j\leadsto b\leadsto a\leadsto\gamma.

References

  1. [1]H. Ayala, F. Luis, and S. Blumsack. The braess paradox and its impact on natural gas network performance. Proceedings - SPE Annual Technical Conference and Exhibition, 6:4304–4323, 01 2012.
  2. [2]Saeed Bagloee, Avishai Ceder, Madjid Tavana, and Claire Bozic. A heuristic methodology to tackle the braess paradox detecting problem tailored for real road networks. Transportmetrica A: Transport Science, 10:437–456, 06 2013. doi:10.1080/23249935.2013.787557.DOI
  3. [3]M. Beckmann, C. B. McGuire, and C. B. Winsten. Studies in the Economics of Transportation. Yale University Press, 1956.
  4. [4]M.G.H. Bell and Y. Lida. Transportation Network Analysis. Wiley, 1987.
  5. [5]Seth Blumsack. Some implications of braess’ paradox in electric power systems. Working Paper, 02 2006.
  6. [6]D. Braess. Über ein paradoxon aus der verkehrsplanung. Unternehmensforschung, 12:258–268, 1968.DOI
  7. [7]Pietro Cenciarelli, Daniele Gorla, and Ivano Salvo. Inefficiencies in network models: A graph theoretic perspective. Information Processing Letters, 131:44–50, 2018.DOI
  8. [8]Pietro Cenciarelli, Daniele Gorla, and Ivano Salvo. A polynomial-time algorithm for detecting the possibility of braess paradox in directed graphs. Algorithmica, 81(4):1535–1560, 2019.DOI
  9. [9]Xujin Chen, Zhuo Diao, and Xiaodong Hu. Excluding braess paradox in nonatomic selfish routing. In Proc. of SAGT15, volume 9347 of LNCS, pages 219–230. Springer, 2015.DOI
  10. [10]Xujin Chen, Zhuo Diao, and Xiaodong Hu. Network characterizations for excluding braess’s paradox. Theory of Computing Systems, pages 1–34, 2016.DOI
  11. [11]Roberto Cominetti, Valerio Dose, and Marco Scarsini. Monotonicity of equilibria in nonatomic congestion games. European Journal of Operational Research, 316(2):754–766, 2024. URL: https://www.sciencedirect.com/science/article/pii/S0377221724000900, doi:10.1016/j.ejor.2024.01.050.DOI
  12. [12]Camil Demetrescu, David Eppstein, Zvi Galil, and Giuseppe F. Italiano. Dynamic graph algorithms, chapter 9, pages 1–28. Chapman & Hall/CRC, 2 edition, 2010.
  13. [13]R. J. Duffin. Topology of series-parallel networks. Journ. of Math Analysis and Applications, 10:303–318, 1965.DOI
  14. [14]Dario Fiorenza, Daniele Gorla, and Ivano Salvo. An incremental algorithm for checking the possibility of braess paradox in dynamic nets. In Proc. of FSTTCS, volume 400 of LIPIcs, pages 7:1–7:17. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2026.
  15. [15]Satoru Fujishige, Michel X. Goemans, Tobias Harks, Britta Peis, and Rico Zenklusen. Matroids are immune to braess paradox. Mathematics of Operations Research, 42(3):745–761, August 2017. doi:10.1287/moor.2016.0825.DOI
  16. [16]J.N. Hagstrom and R.A. Abrams. Characterizing braess’s paradox for traffic networks. In ITSC 2001. 2001 IEEE Intelligent Transportation Systems. Proceedings (Cat. No.01TH8585), pages 836–841, 2001. doi:10.1109/ITSC.2001.948769.DOI
  17. [17]Jacob Holm, Kristian de Lichtenberg, and Mikkel Thorup. Poly-logarithmic deterministic fully-dynamic algorithms for connectivity, minimum spanning tree, 2-edge, and biconnectivity. J. ACM, 48(4):723–760, July 2001.
  18. [18]Andrea S. LaPaugh and Ronald L. Rivest. The subgraph homeomorphism problem. Journal of Computer and System Science, 20(2):133–149, 1980.
  19. [19]Akira Matsubayashi and Yushi Saito. A faster algorithm for recognizing directed graphs invulnerable to braess’s paradox. In Daniele Frigioni and Philipine Schiewe, editors, 23rd ATMOS, OASIcs, pages 12:1–12:19. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2023.
  20. [20]Igor Milchtaich. Network topology and the efficiency of equilibrium. Games and Economic Behavior, 57:321–346, 2006.
  21. [21]Anna Nagurney, David Parkes, and Patrizia Daniele. The internet, evolutionary variational inequalities, and the time-dependent braess paradox. Computational Management Science, 4(4):355–375, October 2007. URL: https://ideas.repec.org/a/spr/comgts/v4y2007i4p355-375.html, doi:10.1007/s10287-006-0027-7.
  22. [22]Eric I. Pas and Shari L. Principio. Braess’ paradox: Some new insights. Transportation Research Part B: Methodological, 31(3):265–276, June 1997. URL: https://ideas.repec.org/a/eee/retrec/v31y1997i3p265-276.html, doi:None.DOI
  23. [23]Claude M. Penchina. Braess paradox: Maximum penalty in a minimal critical network. Transportation Research Part A: Policy and Practice, 31(5):379–388, 1997. URL: https://www.sciencedirect.com/science/article/pii/S0965856496000328, doi: 10.1016/S0965-8564(96)00032-8.
  24. [24]John H. Reif. A topological approach to dynamic graph connectivity. Inf. Process. Lett., 25(1):65–70, April 1987. doi:10.1016/0020-0190(87)90095-0.DOI
  25. [25]J. Riordan and C.E. Shannon. The number of two-terminal series-parallel networks. Journal of Mathematics and Physics, 21:83–93, 1942.
  26. [26]Tim Roughgarden. On the severity of Braess’ Paradox: Designing networks for selfish users is hard. J. Comput. Syst. Sci., 72(5):922–953, 2006. An extended abstract appeared in the Proc. of FOCS 2001.
  27. [27]Robert Tarjan. Depth-first search and linear graph algorithms. In 12th Annual Symposium on Switching and Automata Theory (swat 1971), pages 114–121, 1971. doi:10.1109/SWAT.1971.10.DOI

Paper details

vlnc:W_zzcny93p
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents