<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Graph Theoretic Detection of Ine ciencies in Network Models</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ivano Salvo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Daniele Gorla</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pietro Cenciarelli</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Sapienza University of Rome, Dpt. of Computer Science</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>We present graph-theoretic characterisations of three notions of ine ciency arising in network models: edge-weakness in ow networks, node-weakness in depletable channels, and vulnerability in tra c networks. Our characterisations lead to three polynomial algorithms that check these forms of ine ciency. Furthermore, checking vulnerability also leads to an advancement on the subgraph homeomorphism problem.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Introduction</p>
      <p>ciencies in Network Models
In the following, we will always consider st-directed simple graphs, i.e., graphs
without self-loops and parallel edges, equipped with a source node s (without
incoming edges) and a target node t (without outgoing edges).</p>
      <p>
        In the standard model of ow networks [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], edges are endowed with capacities
and admissible ows can not exceed edge capacities. In the graph of Fig. 1(b),
two ow units can go from s to t, provided that one of them takes the path
s ! u ! t and the other one takes the path s ! v ! t. However, a ow of one
s
(a)
: u
# v
&gt;" t
unit along the path s ! u ! v ! t would saturate the net (i.e., no more ow can
be sent from s to t). This is ine cient, since not all possible ow is delivered.
We call edge-weak those graphs that, as W in Fig. 1(a), admit non-maximum
saturating ows for some capacity-to-edge assignments, as in Fig. 1(b).
      </p>
      <p>
        In depletable channels [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], a model for energy consumption in wireless
networks, each node u is equipped with an integer (u) 0 representing its
depletable charge. Node charges constrain admissible ows: in the channel of
Fig. 1(c) (built upon W), nodes are labelled with their charge (` ' stands for
`unlimited'). As before, we can transmit two information units, or saturate the
net with one unit only. We call node-weak those graphs (as W) that admit
nonmaximum saturating ows for some charge-to-node assignment (Fig. 1(c)).
      </p>
      <p>
        In tra c networks [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], edges are labelled with latency functions, that models
agent delay along an edge in terms of its congestion, that is the ow on that
edge. Autonomous sel sh users choose the faster path and the tra c stabilises
to an equilibrium of a noncooperative game, (Wardrop equilibrium). The tra c
network in Fig. 1(d) is built on top of W: two edges (u ! t and s ! v) cause a
delay of 1 regardless the ow on them; the edge (u ! v) causes no delay; two
edges (v ! t and s ! u) cause a delay linear in the ow on them. Sel sh users
control a negligible part of tra c " and choose the quickest path p : s ! u ! v ! t,
because there they experience a delay of 2 " instead of 1 + " experienced in other
paths However, this leads to the congestion of p: in a ow of value 1, at the
Wardrop equilibrium, all agents choose the path p and their delay is 2. This
is an equilibrium, since agents have no interest in deviating from their choice.
Paradoxically, if we remove the `ideal' edge u ! v, half of users will choose the
path s ! u ! t and half the path s ! v ! t resulting in a delay of 3/2. This
phenomenon has been known for a long time as Braess's paradox [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], that occurs
when the equilibrium cost may be reduced by removing edges.
      </p>
      <p>
        The property of a graph (as W in Fig. 1(a)) to lead, under some latency
function (as the one in Fig. 1(d)), to the possibility of experiencing the Braess's
paradox has been called vulnerability in [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
3
      </p>
      <p>
        A Graph Theoretic Perspective
We have characterised node-weakness [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and edge-weakness [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] in terms of
minimal separators, and vulnerability [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] in terms of subgraph embedding.
      </p>
      <p>
        A minimal vertex separator (mvs for short) [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] of an st{graph is a minimal
set of nodes whose removal disconnects s from t.
      </p>
      <p>
        Theorem 1 ([
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]). A directed st-graph G is node-weak if and only if there exists
a path from s to t touching some mvs of G at least twice.
      </p>
      <p>As discussed in Sect. 2, the graph W in Fig. 1(a) is node-weak: indeed, the mvs
fu; vg is touched twice by the path s ! u ! v ! t. By contrast, the graph C in
Fig. 2 is not node-weak, since its saturating ows have always value minf (v1) +
(v2); (v3) + (v4)g: no st-path touches any of its mvs's twice.</p>
      <p>Similarly, a minimal edge separator (mes for short) of an st{graph is a
minimal set of edges whose removal disconnects s from t.</p>
      <p>
        Theorem 2 ([
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]). A directed st-graph G is edge-weak if and only if there exists
a path from s to t touching some mes of G at least twice.
      </p>
      <p>For example, the graph C in Fig. 2 is edge-weak, because if we assign capacity
0 to one of its two diagonal edges (v1 ! v4 or v2 ! v3) and 1 to all other edges,
we essentially obtain a ow network with the same ows as that of Fig. 1(b).
Indeed, the path s ! v1 ! v4 ! t touches twice the mes fs ! v1; v2 ! v3; v4 ! tg.</p>
      <p>We have characterised vulnerable graphs as those graphs in which the pattern
graph W can be embedded. An st-embedding of W into an st-graph G is a
injective map from nodes of W to nodes of G such that: (1) for all edges
u ! v of W, there exists a path from (u) to (v) in G, (2) (u) ; (v)
and (u0) ; (v0) are node disjoint paths (apart for their extremes) whenever
u 6= u0 or v 6= v0, and (3) there exist two (possibly empty) node-disjoint paths
in G from its source to (s) and from (t) to its target.</p>
      <p>
        Theorem 3 ([
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]). A directed st-graph G is vulnerable i there is an
stembedding of W into G. If G is vulnerable, then G is edge-weak.
      </p>
      <p>The embedding of W into the graph C in Fig. 2 that maps source into
source, target into target, u into v1, and v into v4 induces the following mapping
of edges of W to disjoint paths of C (we denote sW and tW the source and
target of W, and the same for sC and tC ): f(sW ! u; sc ! v1); (sW ! v; sc !
v2 ! v4); (u ! v; v1 ! v4); (u ! tW ; v1 ! v3 ! tC ); (v ! tW ; v4 ! tc)g. Here, the
paths from sC to (sW ) and from (tW ) to tC are both empty.</p>
      <p>As shown in Sect. 2, the graph W is edge-weak, node-weak, and vulnerable.
Let us now consider graphs in Fig. 2. A is node-weak, because its mvs fug is
touched twice by the path s ! u ! v ! u ! t. By contrast, A is not edge-weak
(and so neither vulnerable): its only mes's are fs ! ug and fu ! tg and no path
passes twice through them. The graph B is node-weak and edge-weak because
of the path s ! u ! v ! u ! v ! t that touches twice both the mvs fug and
the mes fu ! vg; however, it is not vulnerable, since there is no st-embedding
of W into it. As said above, the graph C is vulnerable and thus edge-weak, but
not node-weak. Finally, the graph D is not node-weak (its mvs's are f g
s , fug,
fvg, and ftg and no one of them is touched twice by a path) nor vulnerable
(there is no st-embedding of W into it), but it is edge-weak, because the path
s ! u ! x ! y ! x ! y ! v ! t passes twice through the mes fu ! v; x ! yg.</p>
      <p>
        In the general case, the inclusion diagram is depicted top-left in Fig. 2; if we
restrict our attention to directed acyclic graphs (DAG), the inclusion diagram
is depicted top-right in Fig. 2, as a consequence of the following result.
Theorem 4 ([
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]). If an st-graph G is a DAG, then the following statements are
equivalent: (1) G is vulnerable; (2) G is edge-weak; (3) G is not two{terminal
series{parallel; (4) G contains a node-weak subgraph.
      </p>
      <p>W
/ A v3
/ v4</p>
      <p>Node-Weak
:% t</p>
      <p>C
s
D</p>
      <p>Vulnerable =</p>
      <p>Edge-Weak
/ u
x x
/ vO
8 y
/ t
A</p>
      <p>B</p>
      <p>W</p>
      <p>C</p>
      <p>D
Node-Weak</p>
      <p>
        Edge-Weak
/ F u
v
/ t
s
B
/ u f
&amp; v
/ t
s
C
Detecting Braess-paradox in a tra c network is an NP -complete problem [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
We proved [
        <xref ref-type="bibr" rid="ref3 ref4">4, 3</xref>
        ] that computing the minimum saturating ow in depletable
channels is NP -hard (and the associated decisional problem is NP -complete).
This result can be easily adapted to ow networks. Stemming from our results
of Sect. 3, we succeeded in nding polynomial algorithms to check edge-weakness,
node-weakness, and vulnerability.
      </p>
      <p>
        A trivial algorithm to check if a graph G is node-weak is to generate all its
mvs's [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and, for each mvs S check if there exists a path between two nodes of
S. However, the number of mvs's can be exponential in jV j. In [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], we present a
polynomial algorithm that checks weakness by checking at worst O(jV j2) mvs.
Theorem 5 ([
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]). Checking whether an st-graph G = (V; E) is node-weak can
be solved in time O(jV j2 jEj).
      </p>
      <p>
        The same algorithm to detect node-weakness can be adapted to
edgeweakness, by letting mes play the role of mvs, thus proving the following.
Theorem 6 ([
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]). Checking whether a directed st-graph G = (V; E) is
edgeweak can be solved in time O(jEj3).
      </p>
      <p>An st-graph is redundant if it contains redundant edges, i.e., edges that do
not belong to any simple path from s to t. For example, the graph B in Fig. 2 is
redundant because of the edge u ! v. Redundant edges play no role in Wardrop
equilibria: removing a redundant edge from a graph G leads to a graph G0 that
is vulnerable if and only if G is itself vulnerable.</p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], it was proved that vulnerable and not redundant graphs coincide with
two-terminal series-parallel graphs, and this implies the existence of e cient
algorithms to check if a non-redundant st-graph is vulnerable [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. However, we
proved [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] that checking if a graph is redundant is itself NP -complete and thus,
checking preconditions of the algorithm proposed by [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] is computationally hard.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], we presented an algorithm that works on any directed st-graph G. At
each main step, we analyse a cycle in G and either: (1) we remove a redundant
edge, thus breaking a cycle; or (2) we nd an st-embedding of W. This process
always ends nding an st-embedding of W or in a DAG G0 that is vulnerable i
G is vulnerable; and the vulnerability of G0 can be checked in linear time.
Theorem 7 ([
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]). Checking whether a directed st-graph G = (V; E) is
vulnerable can be solved in time O(jV j jEj2).
      </p>
      <p>
        The algorithm for checking vulnerability can be adapted to the
homeomorphic subgraph problem without node mapping. In general, this problem is NP
complete [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], except when, as W, the pattern graph has all nodes with degree at
most 3. In this case, some pattern graphs are known for which this problem is
polynomial. We have added the pattern graph W to this family.
Theorem 8 ([
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]). Checking whether a directed graph G = (V; E) contains a
subgraph homeomorphic to W can be solved in time O(jV j3 jEj2).
5
      </p>
      <p>Open Problems
We conclude by singling out some interesting open problems. First of all, it would
be interesting to investigate if our graph theoretic characterisations and the
corresponding polynomial algorithms can be extended to the multi-commodity
model, where several source and target nodes are present.</p>
      <p>Another issue is e ciency of our algorithms. Are they optimal? Which are
lower-bounds of checking node-, edge-weakness, and vulnerability?</p>
      <p>Finally, it would be interesting investigating a general algorithm for checking
the subgraph homeomorphism problem for all pattern graphs with at most 3 as
node degree, at least for patterns that are, as W, st-graphs.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>R.</given-names>
            <surname>Ahuja</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Magnanti</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Orlin</surname>
          </string-name>
          .
          <article-title>Network Flows, theory, algorithms, and applications</article-title>
          . Prentice-Hall, New Jersey,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>M.</given-names>
            <surname>Beckmann</surname>
          </string-name>
          ,
          <string-name>
            <surname>C. B. McGuire</surname>
            , and
            <given-names>C. B.</given-names>
          </string-name>
          <string-name>
            <surname>Winsten</surname>
          </string-name>
          .
          <article-title>Studies in the Economics of Transportation</article-title>
          . Yale University Press,
          <year>1956</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>P.</given-names>
            <surname>Cenciarelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Gorla</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Salvo.</surname>
          </string-name>
          <article-title>Depletable channels: Dynamics and behaviour</article-title>
          .
          <source>In Proc. of FCT09</source>
          , volume
          <volume>5690</volume>
          <source>of LNCS</source>
          , pages
          <volume>50</volume>
          {
          <fpage>61</fpage>
          . Springer,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>P.</given-names>
            <surname>Cenciarelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Gorla</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Salvo.</surname>
          </string-name>
          <article-title>Depletable channels: Dynamics, behaviour, and e ciency in network design</article-title>
          .
          <source>Acta Informatica</source>
          ,
          <year>2018</year>
          . Accepted.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>P.</given-names>
            <surname>Cenciarelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Gorla</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Salvo.</surname>
          </string-name>
          <article-title>Ine ciencies in network models: A graph theoretic perspective</article-title>
          .
          <source>Information Processing Letters</source>
          ,
          <volume>131</volume>
          :
          <fpage>44</fpage>
          {
          <fpage>50</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>P.</given-names>
            <surname>Cenciarelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Gorla</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Salvo.</surname>
          </string-name>
          <article-title>A polynomial-time algorithm for checking the possibility of braess paradox in directed graphs</article-title>
          .
          <source>Algorithmica</source>
          ,
          <year>2018</year>
          . In press.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>X.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Diao</surname>
          </string-name>
          , and
          <string-name>
            <given-names>X.</given-names>
            <surname>Hu</surname>
          </string-name>
          .
          <article-title>Network characterizations for excluding braess's paradox</article-title>
          .
          <source>Theory of Computing Systems</source>
          , pages
          <fpage>1</fpage>
          {
          <fpage>34</fpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>S.</given-names>
            <surname>Fortune</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hopcroft</surname>
          </string-name>
          , and
          <string-name>
            <surname>J. Wyllie.</surname>
          </string-name>
          <article-title>The directed subgraph homeomorphism problem</article-title>
          .
          <source>Theoretical Computer Science</source>
          ,
          <volume>10</volume>
          (
          <issue>2</issue>
          ):
          <volume>111</volume>
          {
          <fpage>121</fpage>
          ,
          <year>1980</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>F.</given-names>
            <surname>Granese</surname>
          </string-name>
          .
          <article-title>Polynomially recognising graphs where saturating ows are always maximum</article-title>
          .
          <source>BSc Thesis</source>
          , Sapienza University of Rome.,
          <year>October 2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>T.</given-names>
            <surname>Kloks</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Kratsch</surname>
          </string-name>
          .
          <article-title>Listing all minimal separators of a graph</article-title>
          .
          <source>SIAM J. Comput.</source>
          ,
          <volume>27</volume>
          (
          <issue>3</issue>
          ):
          <volume>605</volume>
          {
          <fpage>613</fpage>
          ,
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>T.</given-names>
            <surname>Roughgarden</surname>
          </string-name>
          .
          <article-title>On the severity of Braess's Paradox: Designing networks for sel sh users is hard</article-title>
          .
          <source>J. Comput. Syst. Sci.</source>
          ,
          <volume>72</volume>
          (
          <issue>5</issue>
          ):
          <volume>922</volume>
          {
          <fpage>953</fpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>J. Valdes</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Tarjan</surname>
            , and
            <given-names>E. Lawler.</given-names>
          </string-name>
          <article-title>The recognition of series-parallel digraphs</article-title>
          .
          <source>SIAM Journal of Computing</source>
          ,
          <volume>11</volume>
          :
          <fpage>298</fpage>
          {
          <fpage>313</fpage>
          ,
          <year>1982</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>