SlideShare a Scribd company logo
1 of 44
Download to read offline
Join-Reachability Problems
    in Directed Graphs

           Loukas Georgiadis
  University of Western Macedonia, Greece



              Joint work with
Stavros Nikolopoulos and Leonidas Palios
       University of Ioannina, Greece
Graph Reachability


                                (Directed) Graph

                                Reachability Query :

                                      Is vertex    reachable from vertex        ?

                                      (Is there a path in   from    to     ?)




Goal: Construct a Data Structure that answers reachability queries efficiently
Graph Reachability
                                  Reachability Query :

                                        Is vertex   reachable from vertex          ?

                                       (Is there a path in    from       to   ?)


Goal: Construct a Data Structure that answers reachability queries efficiently


Efficiency of a Data Structure:
                storage space
               query time

Easy : Efficiency            or
                                          So far achieved only for
Hard : Efficiency close to                restricted graph classes
                                          (e.g., trees, planar graphs)
Join-Reachability
Collection of graphs


                               Join-Reachability Graph

                                                                    in


                                                                   in all

                       Join-Reachability Query :
                            Report all vertices that reach   in all graphs
Join-Reachability
Collection of graphs


                               Join-Reachability Graph

                                                                      in


                                                                     in all

                       Join-Reachability Query :
                            Report all vertices that reach     in all graphs

Combinatorial Problem : • Compute a            of small size
                          • Compute/approximate smallest

Data Structure Problem : • Compute an efficient data structure for
                           - report all vertices s.t.       for a query vertex
                           - small space
Join-Reachability
Collection of graphs

Join-Reachability Query :

     Report all vertices that reach   in all graphs


Applications: Graph Algorithms, Data Bases, Natural Language Processing,…
Example: Rank Aggregation

                    Ranking 1                 Ranking λ

                   1.   Item A               1.   Item B
                   2.   Item B               2.   Item D
                   3.   Item C               3.   Item A
                        ...                       ...

Given a collection of rankings of some items, we would like to report fast all
items ranked higher than a query item in all rankings.
Motivation
Computing frequency dominators [G. ‘08]



                           f
Motivation
Applications of Independent Spanning Trees [G. and Tarjan 2005, 2011]
Motivation
Computing Pairs of Disjoint         Paths [G. 2010]

 Data Structure : Given rooted trees           and     on the same nodes
   support the operations:
(i) Test if            contains      .
(ii) Return the topmost vertex in                .

(iii) Test if          and                    contain a common vertex.

(iv) Find the lowest ancestor of         in             that is contained in   .
(v) Find the highest ancestor of         in             that is contained in   .
Computational Morphological Analysis
     Computational Approach: Morphological patterns as graph reachability problems

                                            Απολσμ-




                                                                     -αν*-
            -αιν-




-ω     -α      -ομαι-ομοσν -οντας                     -*σμεν-
                                    -θηκ-     -θ-



                                                                         -τικ-

                                             -ος       -η       -ο
                                                                                 -της   -τήριο
Join-Reachability

We consider the case of two digraphs:



                             Join-Reachability Graph

                                                        in


                                                       in    and
Outline
           Graph Reachability

           Join-Reachability Problems
              • Motivation
              • Preprocessing
                  − Layer Decomposition
                  − Removing Cycles
              • Join-Reachability Graph
                  − Computational Complexity
                  − Combinatorial Complexity
              • Join-Reachability Data Structures

           Concluding Remarks
Thorup’s Layer Decomposition
Reduces digraph reachabiliy to reachability in 2-layered digraphs
Thorup’s Layer Decomposition
Reduces digraph reachabiliy to reachability in 2-layered digraphs

2-layered digraph : Has a 2-layered spanning tree, i.e. every undirected
                    root-to-leaf path consists of 2 directed paths
Thorup’s Layer Decomposition
Reduces digraph reachabiliy to reachability in 2-layered digraphs




                                          arbitrary vertex
                                          chosen as root
Thorup’s Layer Decomposition
Reduces digraph reachabiliy to reachability in 2-layered digraphs




                                              vertices reachable
                                              from
Thorup’s Layer Decomposition
Reduces digraph reachabiliy to reachability in 2-layered digraphs




                                                 vertices reaching
Thorup’s Layer Decomposition
Reduces digraph reachabiliy to reachability in 2-layered digraphs



                                                  vertices reachable
                                                  from
Thorup’s Layer Decomposition
Reduces digraph reachabiliy to reachability in 2-layered digraphs

                                                   vertices reaching
Thorup’s Layer Decomposition
Reduces digraph reachabiliy to reachability in 2-layered digraphs




                                                 is induced by      and

                                                      index of layer containing




            We can use this method to reduce general join-reachabiliy to
            join-reachability in 2-layered digraphs
Removing Cycles
Reduces digraph (join-)reachabiliy to (join-)reachability in acyclic digraphs
Removing Cycles
Reduces digraph (join-)reachabiliy to (join-)reachability in acyclic digraphs




                      contract
                 strong components
Removing Cycles
Reduces digraph (join-)reachabiliy to (join-)reachability in acyclic digraphs




                      contract                  split to common
                 strong components              subcomponents
Outline
           Graph Reachability

           Join-Reachability Problems
              • Motivation
              • Preprocessing
                  − Layer Decomposition
                  − Removing Cycles
              • Join-Reachability Graph
                  − Computational Complexity
                  − Combinatorial Complexity
              • Join-Reachability Data Structures

           Concluding Remarks
Join-Reachability Graph
Collection of graphs


                       Join-Reachability Graph


                                                  in


                                                 in    and
Join-Reachability Graph: Computational Complexity
Collection of graphs


                               Join-Reachability Graph


                                                                     in


                                                                 in       and




   Two cases: •                     (Steiner vertices not allowed)
                    smallest        is polynomial-time computable

                •                   (Steiner vertices allowed)
                    smallest       is NP-hard to compute
Join-Reachability Graph

Steiner vertices   can significantly reduce the size of
Join-Reachability Graph: Combinatorial Complexity
Collection of graphs


                               Join-Reachability Graph


                                                                  in


                                                                 in     and




   We bound the size of         when Steiner vertices are allowed

   Main Idea: Geometric representation of join-reachability for paths and trees
Join-Reachability Graph: Combinatorial Complexity
Construction of a compact join-reachability graph   for paths
Each vertex         is mapped to a point
        number of vertices reachable from     in
Join-Reachability Graph: Combinatorial Complexity
Construction of a compact join-reachability graph   for paths
Each vertex         is mapped to a point
        number of vertices reachable from     in
Join-Reachability Graph: Combinatorial Complexity
Construction of a compact join-reachability graph        for paths
Each vertex         is mapped to a point
        number of vertices reachable from      in



                          For each         , such that                add Steiner
                          vertex     with coordinates                and arc
Join-Reachability Graph: Combinatorial Complexity
Construction of a compact join-reachability graph        for paths
Each vertex         is mapped to a point
        number of vertices reachable from      in



                          For each         , such that                add Steiner
                          vertex     with coordinates                and arc
                          Connect Steiner vertices in a bottom-up path
Join-Reachability Graph: Combinatorial Complexity
Construction of a compact join-reachability graph        for paths
Each vertex         is mapped to a point
        number of vertices reachable from      in



                          For each         , such that                add Steiner
                          vertex     with coordinates                and arc
                          Connect Steiner vertices in a bottom-up path

                          For each         , such that                add arc
                               nearest Steiner neighbor with
Join-Reachability Graph: Combinatorial Complexity
  Construction of a compact join-reachability graph         for paths
  Each vertex         is mapped to a point
          number of vertices reachable from      in



                            For each         , such that                 add Steiner
                            vertex     with coordinates                 and arc
                            Connect Steiner vertices in a bottom-up path

                            For each         , such that                 add arc
                                 nearest Steiner neighbor with

                            Use recursion for the sets
                                                  and


Upper Bound:          arcs + vertices per recursion level
Join-Reachability Graph: Combinatorial Complexity
  Construction of a compact join-reachability graph         for paths
  Each vertex         is mapped to a point
          number of vertices reachable from      in



                            For each         , such that                 add Steiner
                            vertex     with coordinates                 and arc
                            Connect Steiner vertices in a bottom-up path

                            For each         , such that                 add arc
                                 nearest Steiner neighbor with

                            Use recursion for the sets
                                                  and


Upper Bound:          arcs + vertices per recursion level
Lower Bound : There are instances for which
Join-Reachability Graph: Combinatorial Complexity
Construction of a compact join-reachability graph        for trees
Each vertex         is mapped to a rectangle
                        depth-first search interval of   in
Join-Reachability Graph: Combinatorial Complexity
Construction of a compact join-reachability graph        for trees
Each vertex         is mapped to a rectangle
                        depth-first search interval of   in
      out-tree,       out-tree :
Join-Reachability Graph: Combinatorial Complexity
Construction of a compact join-reachability graph        for trees
Each vertex         is mapped to a rectangle
                        depth-first search interval of   in
      in-tree,        in-tree :
Join-Reachability Graph: Combinatorial Complexity
Construction of a compact join-reachability graph        for trees
Each vertex         is mapped to a rectangle
                        depth-first search interval of   in
      out-tree,       in-tree :
Join-Reachability Graph: Combinatorial Complexity
Outline
           Graph Reachability

           Join-Reachability Problems
              • Motivation
              • Preprocessing
                  − Layer Decomposition
                  − Removing Cycles
              • Join-Reachability Graph
                  − Computational Complexity
                  − Combinatorial Complexity
              • Join-Reachability Data Structures

           Concluding Remarks
Join-Reachability Data Structures

Collection of graphs




Join-Reachability Query :

     Report all vertices that reach      in all graphs

     (Vertices    such that there is a          path in all   )

Efficiency of a Data Structure:
              storage space
              time to report      vertices
Join-Reachability Data Structures
Concluding Remarks


More Problems:

 • Complexity of computing smallest           for simple graph classes

 • Approximate smallest           for simple graph classes

 • Data structures supporting more general join-reachability queries
   e.g., report all   such that            and

More Related Content

What's hot

Enhancement of SAR Imagery using DWT
Enhancement of SAR Imagery using DWTEnhancement of SAR Imagery using DWT
Enhancement of SAR Imagery using DWTIJLT EMAS
 
Low Memory Low Complexity Image Compression Using HSSPIHT Encoder
Low Memory Low Complexity Image Compression Using HSSPIHT EncoderLow Memory Low Complexity Image Compression Using HSSPIHT Encoder
Low Memory Low Complexity Image Compression Using HSSPIHT EncoderIJERA Editor
 
Image Super-Resolution using Single Image Semi Coupled Dictionary Learning
 Image Super-Resolution using Single Image Semi Coupled Dictionary Learning  Image Super-Resolution using Single Image Semi Coupled Dictionary Learning
Image Super-Resolution using Single Image Semi Coupled Dictionary Learning CSCJournals
 
A Novel Algorithm for Watermarking and Image Encryption
A Novel Algorithm for Watermarking and Image Encryption A Novel Algorithm for Watermarking and Image Encryption
A Novel Algorithm for Watermarking and Image Encryption cscpconf
 
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB)
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB) IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB)
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB) cscpconf
 
Image coding through ztransform with low energy and bandwidth (izeb)
Image coding through ztransform with low energy and bandwidth (izeb)Image coding through ztransform with low energy and bandwidth (izeb)
Image coding through ztransform with low energy and bandwidth (izeb)csandit
 
Non standard size image compression with reversible embedded wavelets
Non standard size image compression with reversible embedded waveletsNon standard size image compression with reversible embedded wavelets
Non standard size image compression with reversible embedded waveletseSAT Publishing House
 
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...Susang Kim
 
Bhark, E.W., Structured History Matching Workflow using Parameterization and ...
Bhark, E.W., Structured History Matching Workflow using Parameterization and ...Bhark, E.W., Structured History Matching Workflow using Parameterization and ...
Bhark, E.W., Structured History Matching Workflow using Parameterization and ...ebhark
 
Financial Networks VI - Correlation Networks
Financial Networks VI - Correlation NetworksFinancial Networks VI - Correlation Networks
Financial Networks VI - Correlation NetworksKimmo Soramaki
 
Scheduling MapReduce Jobs in HPC Clusters
Scheduling MapReduce Jobs in HPC ClustersScheduling MapReduce Jobs in HPC Clusters
Scheduling MapReduce Jobs in HPC ClustersMarcelo Veiga Neves
 
Dynamic Texture Coding using Modified Haar Wavelet with CUDA
Dynamic Texture Coding using Modified Haar Wavelet with CUDADynamic Texture Coding using Modified Haar Wavelet with CUDA
Dynamic Texture Coding using Modified Haar Wavelet with CUDAIJERA Editor
 
20140530.journal club
20140530.journal club20140530.journal club
20140530.journal clubHayaru SHOUNO
 
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral ImagesBand Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral ImagesIDES Editor
 

What's hot (20)

Enhancement of SAR Imagery using DWT
Enhancement of SAR Imagery using DWTEnhancement of SAR Imagery using DWT
Enhancement of SAR Imagery using DWT
 
Ad24210214
Ad24210214Ad24210214
Ad24210214
 
Low Memory Low Complexity Image Compression Using HSSPIHT Encoder
Low Memory Low Complexity Image Compression Using HSSPIHT EncoderLow Memory Low Complexity Image Compression Using HSSPIHT Encoder
Low Memory Low Complexity Image Compression Using HSSPIHT Encoder
 
Image Super-Resolution using Single Image Semi Coupled Dictionary Learning
 Image Super-Resolution using Single Image Semi Coupled Dictionary Learning  Image Super-Resolution using Single Image Semi Coupled Dictionary Learning
Image Super-Resolution using Single Image Semi Coupled Dictionary Learning
 
A Novel Algorithm for Watermarking and Image Encryption
A Novel Algorithm for Watermarking and Image Encryption A Novel Algorithm for Watermarking and Image Encryption
A Novel Algorithm for Watermarking and Image Encryption
 
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB)
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB) IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB)
IMAGE CODING THROUGH ZTRANSFORM WITH LOW ENERGY AND BANDWIDTH (IZEB)
 
Image coding through ztransform with low energy and bandwidth (izeb)
Image coding through ztransform with low energy and bandwidth (izeb)Image coding through ztransform with low energy and bandwidth (izeb)
Image coding through ztransform with low energy and bandwidth (izeb)
 
B04 07 0614
B04 07 0614B04 07 0614
B04 07 0614
 
B042107012
B042107012B042107012
B042107012
 
Non standard size image compression with reversible embedded wavelets
Non standard size image compression with reversible embedded waveletsNon standard size image compression with reversible embedded wavelets
Non standard size image compression with reversible embedded wavelets
 
Data argumentation
Data argumentationData argumentation
Data argumentation
 
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...
 
Bhark, E.W., Structured History Matching Workflow using Parameterization and ...
Bhark, E.W., Structured History Matching Workflow using Parameterization and ...Bhark, E.W., Structured History Matching Workflow using Parameterization and ...
Bhark, E.W., Structured History Matching Workflow using Parameterization and ...
 
Financial Networks VI - Correlation Networks
Financial Networks VI - Correlation NetworksFinancial Networks VI - Correlation Networks
Financial Networks VI - Correlation Networks
 
Scheduling MapReduce Jobs in HPC Clusters
Scheduling MapReduce Jobs in HPC ClustersScheduling MapReduce Jobs in HPC Clusters
Scheduling MapReduce Jobs in HPC Clusters
 
Dynamic Texture Coding using Modified Haar Wavelet with CUDA
Dynamic Texture Coding using Modified Haar Wavelet with CUDADynamic Texture Coding using Modified Haar Wavelet with CUDA
Dynamic Texture Coding using Modified Haar Wavelet with CUDA
 
20140530.journal club
20140530.journal club20140530.journal club
20140530.journal club
 
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral ImagesBand Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
 
N046018089
N046018089N046018089
N046018089
 
On target
On targetOn target
On target
 

Viewers also liked

Petri nets by Barkatllah
Petri nets by BarkatllahPetri nets by Barkatllah
Petri nets by BarkatllahBarkat Ullah
 
A modified reach ability tree approach to analysis of unbounded petrinets
A modified reach ability tree approach to analysis of unbounded petrinetsA modified reach ability tree approach to analysis of unbounded petrinets
A modified reach ability tree approach to analysis of unbounded petrinetsAnirudh Kadevari
 
Extensions to the CEGAR Approach on Petri Nets
Extensions to the CEGAR Approach on Petri NetsExtensions to the CEGAR Approach on Petri Nets
Extensions to the CEGAR Approach on Petri NetsAkos Hajdu
 
Colored petri nets theory and applications
Colored petri nets theory and applicationsColored petri nets theory and applications
Colored petri nets theory and applicationsAbu Hussein
 
Model checking of time petri nets
Model checking of time petri netsModel checking of time petri nets
Model checking of time petri netsMarwa Al-Rikaby
 
Parámetros de presentacion del trabajo
Parámetros de presentacion del trabajoParámetros de presentacion del trabajo
Parámetros de presentacion del trabajoColegio de Santander
 

Viewers also liked (9)

Exploring Petri Net State Spaces
Exploring Petri Net State SpacesExploring Petri Net State Spaces
Exploring Petri Net State Spaces
 
A petri-net
A petri-netA petri-net
A petri-net
 
Petri nets by Barkatllah
Petri nets by BarkatllahPetri nets by Barkatllah
Petri nets by Barkatllah
 
A modified reach ability tree approach to analysis of unbounded petrinets
A modified reach ability tree approach to analysis of unbounded petrinetsA modified reach ability tree approach to analysis of unbounded petrinets
A modified reach ability tree approach to analysis of unbounded petrinets
 
Extensions to the CEGAR Approach on Petri Nets
Extensions to the CEGAR Approach on Petri NetsExtensions to the CEGAR Approach on Petri Nets
Extensions to the CEGAR Approach on Petri Nets
 
Tools4BPEL Tool Demonstration
Tools4BPEL Tool DemonstrationTools4BPEL Tool Demonstration
Tools4BPEL Tool Demonstration
 
Colored petri nets theory and applications
Colored petri nets theory and applicationsColored petri nets theory and applications
Colored petri nets theory and applications
 
Model checking of time petri nets
Model checking of time petri netsModel checking of time petri nets
Model checking of time petri nets
 
Parámetros de presentacion del trabajo
Parámetros de presentacion del trabajoParámetros de presentacion del trabajo
Parámetros de presentacion del trabajo
 

Similar to Csr2011 june16 11_30_georgiadis

Intro to threp
Intro to threpIntro to threp
Intro to threpHong Wu
 
WOOster: A Map-Reduce based Platform for Graph Mining
WOOster: A Map-Reduce based Platform for Graph MiningWOOster: A Map-Reduce based Platform for Graph Mining
WOOster: A Map-Reduce based Platform for Graph Miningaravindan_raghu
 
Resnet.pdf
Resnet.pdfResnet.pdf
Resnet.pdfYanhuaSi
 
Locally densest subgraph discovery
Locally densest subgraph discoveryLocally densest subgraph discovery
Locally densest subgraph discoveryaftab alam
 
Collaborative Similarity Measure for Intra-Graph Clustering
Collaborative Similarity Measure for Intra-Graph ClusteringCollaborative Similarity Measure for Intra-Graph Clustering
Collaborative Similarity Measure for Intra-Graph ClusteringWaqas Nawaz
 
Resnet.pptx
Resnet.pptxResnet.pptx
Resnet.pptxYanhuaSi
 
Large graph analysis in the g mine system
Large graph analysis in the g mine systemLarge graph analysis in the g mine system
Large graph analysis in the g mine systemecway
 
Java large graph analysis in the g mine system
Java  large graph analysis in the g mine systemJava  large graph analysis in the g mine system
Java large graph analysis in the g mine systemecwayerode
 
Large graph analysis in the g mine system
Large graph analysis in the g mine systemLarge graph analysis in the g mine system
Large graph analysis in the g mine systemecway
 
Ling liu part 02:big graph processing
Ling liu part 02:big graph processingLing liu part 02:big graph processing
Ling liu part 02:big graph processingjins0618
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Gaurav Mittal
 
用R语言做曲线拟合
用R语言做曲线拟合用R语言做曲线拟合
用R语言做曲线拟合Wenxiang Zhu
 
NS-CUK Seminar: H.B.Kim, Review on "subgraph2vec: Learning Distributed Repre...
NS-CUK Seminar: H.B.Kim,  Review on "subgraph2vec: Learning Distributed Repre...NS-CUK Seminar: H.B.Kim,  Review on "subgraph2vec: Learning Distributed Repre...
NS-CUK Seminar: H.B.Kim, Review on "subgraph2vec: Learning Distributed Repre...ssuser4b1f48
 
Structured Forests for Fast Edge Detection [Paper Presentation]
Structured Forests for Fast Edge Detection [Paper Presentation]Structured Forests for Fast Edge Detection [Paper Presentation]
Structured Forests for Fast Edge Detection [Paper Presentation]Mohammad Shaker
 
Geometric correlations in multiplexes and how they make them more robust
Geometric correlations in multiplexes and how they make them more robustGeometric correlations in multiplexes and how they make them more robust
Geometric correlations in multiplexes and how they make them more robustKolja Kleineberg
 
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics Kolja Kleineberg
 

Similar to Csr2011 june16 11_30_georgiadis (20)

Intro to threp
Intro to threpIntro to threp
Intro to threp
 
WOOster: A Map-Reduce based Platform for Graph Mining
WOOster: A Map-Reduce based Platform for Graph MiningWOOster: A Map-Reduce based Platform for Graph Mining
WOOster: A Map-Reduce based Platform for Graph Mining
 
Resnet.pdf
Resnet.pdfResnet.pdf
Resnet.pdf
 
Locally densest subgraph discovery
Locally densest subgraph discoveryLocally densest subgraph discovery
Locally densest subgraph discovery
 
Collaborative Similarity Measure for Intra-Graph Clustering
Collaborative Similarity Measure for Intra-Graph ClusteringCollaborative Similarity Measure for Intra-Graph Clustering
Collaborative Similarity Measure for Intra-Graph Clustering
 
Resnet.pptx
Resnet.pptxResnet.pptx
Resnet.pptx
 
Large graph analysis in the g mine system
Large graph analysis in the g mine systemLarge graph analysis in the g mine system
Large graph analysis in the g mine system
 
Java large graph analysis in the g mine system
Java  large graph analysis in the g mine systemJava  large graph analysis in the g mine system
Java large graph analysis in the g mine system
 
Large graph analysis in the g mine system
Large graph analysis in the g mine systemLarge graph analysis in the g mine system
Large graph analysis in the g mine system
 
10 tree map
10 tree map10 tree map
10 tree map
 
Ivd soda-2019
Ivd soda-2019Ivd soda-2019
Ivd soda-2019
 
Ling liu part 02:big graph processing
Ling liu part 02:big graph processingLing liu part 02:big graph processing
Ling liu part 02:big graph processing
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
 
用R语言做曲线拟合
用R语言做曲线拟合用R语言做曲线拟合
用R语言做曲线拟合
 
NS-CUK Seminar: H.B.Kim, Review on "subgraph2vec: Learning Distributed Repre...
NS-CUK Seminar: H.B.Kim,  Review on "subgraph2vec: Learning Distributed Repre...NS-CUK Seminar: H.B.Kim,  Review on "subgraph2vec: Learning Distributed Repre...
NS-CUK Seminar: H.B.Kim, Review on "subgraph2vec: Learning Distributed Repre...
 
Structured Forests for Fast Edge Detection [Paper Presentation]
Structured Forests for Fast Edge Detection [Paper Presentation]Structured Forests for Fast Edge Detection [Paper Presentation]
Structured Forests for Fast Edge Detection [Paper Presentation]
 
Geometric correlations in multiplexes and how they make them more robust
Geometric correlations in multiplexes and how they make them more robustGeometric correlations in multiplexes and how they make them more robust
Geometric correlations in multiplexes and how they make them more robust
 
An Algebra of Hierarchical Graphs
An Algebra of Hierarchical GraphsAn Algebra of Hierarchical Graphs
An Algebra of Hierarchical Graphs
 
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
The Hidden Geometry of Multiplex Networks @ Next Generation Network Analytics
 
RTree Spatial Indexing with MongoDB - MongoDC
RTree Spatial Indexing with MongoDB - MongoDC RTree Spatial Indexing with MongoDB - MongoDC
RTree Spatial Indexing with MongoDB - MongoDC
 

More from CSR2011

Csr2011 june14 09_30_grigoriev
Csr2011 june14 09_30_grigorievCsr2011 june14 09_30_grigoriev
Csr2011 june14 09_30_grigorievCSR2011
 
Csr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCsr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCSR2011
 
Csr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCsr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCSR2011
 
Csr2011 june18 14_00_sudan
Csr2011 june18 14_00_sudanCsr2011 june18 14_00_sudan
Csr2011 june18 14_00_sudanCSR2011
 
Csr2011 june18 15_45_avron
Csr2011 june18 15_45_avronCsr2011 june18 15_45_avron
Csr2011 june18 15_45_avronCSR2011
 
Csr2011 june18 09_30_shpilka
Csr2011 june18 09_30_shpilkaCsr2011 june18 09_30_shpilka
Csr2011 june18 09_30_shpilkaCSR2011
 
Csr2011 june18 12_00_nguyen
Csr2011 june18 12_00_nguyenCsr2011 june18 12_00_nguyen
Csr2011 june18 12_00_nguyenCSR2011
 
Csr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskinCsr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskinCSR2011
 
Csr2011 june18 11_30_remila
Csr2011 june18 11_30_remilaCsr2011 june18 11_30_remila
Csr2011 june18 11_30_remilaCSR2011
 
Csr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanovCsr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanovCSR2011
 
Csr2011 june17 16_30_blin
Csr2011 june17 16_30_blinCsr2011 june17 16_30_blin
Csr2011 june17 16_30_blinCSR2011
 
Csr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCsr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCSR2011
 
Csr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCsr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCSR2011
 
Csr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCsr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCSR2011
 
Csr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyiCsr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyiCSR2011
 
Csr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonatiCsr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonatiCSR2011
 
Csr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCsr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCSR2011
 
Csr2011 june17 15_15_kaminski
Csr2011 june17 15_15_kaminskiCsr2011 june17 15_15_kaminski
Csr2011 june17 15_15_kaminskiCSR2011
 
Csr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCsr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCSR2011
 
Csr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCsr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCSR2011
 

More from CSR2011 (20)

Csr2011 june14 09_30_grigoriev
Csr2011 june14 09_30_grigorievCsr2011 june14 09_30_grigoriev
Csr2011 june14 09_30_grigoriev
 
Csr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCsr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoff
 
Csr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoffCsr2011 june18 15_15_bomhoff
Csr2011 june18 15_15_bomhoff
 
Csr2011 june18 14_00_sudan
Csr2011 june18 14_00_sudanCsr2011 june18 14_00_sudan
Csr2011 june18 14_00_sudan
 
Csr2011 june18 15_45_avron
Csr2011 june18 15_45_avronCsr2011 june18 15_45_avron
Csr2011 june18 15_45_avron
 
Csr2011 june18 09_30_shpilka
Csr2011 june18 09_30_shpilkaCsr2011 june18 09_30_shpilka
Csr2011 june18 09_30_shpilka
 
Csr2011 june18 12_00_nguyen
Csr2011 june18 12_00_nguyenCsr2011 june18 12_00_nguyen
Csr2011 june18 12_00_nguyen
 
Csr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskinCsr2011 june18 11_00_tiskin
Csr2011 june18 11_00_tiskin
 
Csr2011 june18 11_30_remila
Csr2011 june18 11_30_remilaCsr2011 june18 11_30_remila
Csr2011 june18 11_30_remila
 
Csr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanovCsr2011 june17 17_00_likhomanov
Csr2011 june17 17_00_likhomanov
 
Csr2011 june17 16_30_blin
Csr2011 june17 16_30_blinCsr2011 june17 16_30_blin
Csr2011 june17 16_30_blin
 
Csr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCsr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhanin
 
Csr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhaninCsr2011 june17 09_30_yekhanin
Csr2011 june17 09_30_yekhanin
 
Csr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCsr2011 june17 12_00_morin
Csr2011 june17 12_00_morin
 
Csr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyiCsr2011 june17 11_30_vyalyi
Csr2011 june17 11_30_vyalyi
 
Csr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonatiCsr2011 june17 11_00_lonati
Csr2011 june17 11_00_lonati
 
Csr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCsr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatov
 
Csr2011 june17 15_15_kaminski
Csr2011 june17 15_15_kaminskiCsr2011 june17 15_15_kaminski
Csr2011 june17 15_15_kaminski
 
Csr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatovCsr2011 june17 14_00_bulatov
Csr2011 june17 14_00_bulatov
 
Csr2011 june17 12_00_morin
Csr2011 june17 12_00_morinCsr2011 june17 12_00_morin
Csr2011 june17 12_00_morin
 

Csr2011 june16 11_30_georgiadis

  • 1. Join-Reachability Problems in Directed Graphs Loukas Georgiadis University of Western Macedonia, Greece Joint work with Stavros Nikolopoulos and Leonidas Palios University of Ioannina, Greece
  • 2. Graph Reachability (Directed) Graph Reachability Query : Is vertex reachable from vertex ? (Is there a path in from to ?) Goal: Construct a Data Structure that answers reachability queries efficiently
  • 3. Graph Reachability Reachability Query : Is vertex reachable from vertex ? (Is there a path in from to ?) Goal: Construct a Data Structure that answers reachability queries efficiently Efficiency of a Data Structure: storage space query time Easy : Efficiency or So far achieved only for Hard : Efficiency close to restricted graph classes (e.g., trees, planar graphs)
  • 4. Join-Reachability Collection of graphs Join-Reachability Graph in in all Join-Reachability Query : Report all vertices that reach in all graphs
  • 5. Join-Reachability Collection of graphs Join-Reachability Graph in in all Join-Reachability Query : Report all vertices that reach in all graphs Combinatorial Problem : • Compute a of small size • Compute/approximate smallest Data Structure Problem : • Compute an efficient data structure for - report all vertices s.t. for a query vertex - small space
  • 6. Join-Reachability Collection of graphs Join-Reachability Query : Report all vertices that reach in all graphs Applications: Graph Algorithms, Data Bases, Natural Language Processing,… Example: Rank Aggregation Ranking 1 Ranking λ 1. Item A 1. Item B 2. Item B 2. Item D 3. Item C 3. Item A ... ... Given a collection of rankings of some items, we would like to report fast all items ranked higher than a query item in all rankings.
  • 8. Motivation Applications of Independent Spanning Trees [G. and Tarjan 2005, 2011]
  • 9. Motivation Computing Pairs of Disjoint Paths [G. 2010] Data Structure : Given rooted trees and on the same nodes support the operations: (i) Test if contains . (ii) Return the topmost vertex in . (iii) Test if and contain a common vertex. (iv) Find the lowest ancestor of in that is contained in . (v) Find the highest ancestor of in that is contained in .
  • 10. Computational Morphological Analysis Computational Approach: Morphological patterns as graph reachability problems Απολσμ- -αν*- -αιν- -ω -α -ομαι-ομοσν -οντας -*σμεν- -θηκ- -θ- -τικ- -ος -η -ο -της -τήριο
  • 11. Join-Reachability We consider the case of two digraphs: Join-Reachability Graph in in and
  • 12. Outline  Graph Reachability  Join-Reachability Problems • Motivation • Preprocessing − Layer Decomposition − Removing Cycles • Join-Reachability Graph − Computational Complexity − Combinatorial Complexity • Join-Reachability Data Structures  Concluding Remarks
  • 13. Thorup’s Layer Decomposition Reduces digraph reachabiliy to reachability in 2-layered digraphs
  • 14. Thorup’s Layer Decomposition Reduces digraph reachabiliy to reachability in 2-layered digraphs 2-layered digraph : Has a 2-layered spanning tree, i.e. every undirected root-to-leaf path consists of 2 directed paths
  • 15. Thorup’s Layer Decomposition Reduces digraph reachabiliy to reachability in 2-layered digraphs arbitrary vertex chosen as root
  • 16. Thorup’s Layer Decomposition Reduces digraph reachabiliy to reachability in 2-layered digraphs vertices reachable from
  • 17. Thorup’s Layer Decomposition Reduces digraph reachabiliy to reachability in 2-layered digraphs vertices reaching
  • 18. Thorup’s Layer Decomposition Reduces digraph reachabiliy to reachability in 2-layered digraphs vertices reachable from
  • 19. Thorup’s Layer Decomposition Reduces digraph reachabiliy to reachability in 2-layered digraphs vertices reaching
  • 20. Thorup’s Layer Decomposition Reduces digraph reachabiliy to reachability in 2-layered digraphs is induced by and index of layer containing We can use this method to reduce general join-reachabiliy to join-reachability in 2-layered digraphs
  • 21. Removing Cycles Reduces digraph (join-)reachabiliy to (join-)reachability in acyclic digraphs
  • 22. Removing Cycles Reduces digraph (join-)reachabiliy to (join-)reachability in acyclic digraphs contract strong components
  • 23. Removing Cycles Reduces digraph (join-)reachabiliy to (join-)reachability in acyclic digraphs contract split to common strong components subcomponents
  • 24. Outline  Graph Reachability  Join-Reachability Problems • Motivation • Preprocessing − Layer Decomposition − Removing Cycles • Join-Reachability Graph − Computational Complexity − Combinatorial Complexity • Join-Reachability Data Structures  Concluding Remarks
  • 25. Join-Reachability Graph Collection of graphs Join-Reachability Graph in in and
  • 26. Join-Reachability Graph: Computational Complexity Collection of graphs Join-Reachability Graph in in and Two cases: • (Steiner vertices not allowed) smallest is polynomial-time computable • (Steiner vertices allowed) smallest is NP-hard to compute
  • 27. Join-Reachability Graph Steiner vertices can significantly reduce the size of
  • 28. Join-Reachability Graph: Combinatorial Complexity Collection of graphs Join-Reachability Graph in in and We bound the size of when Steiner vertices are allowed Main Idea: Geometric representation of join-reachability for paths and trees
  • 29. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for paths Each vertex is mapped to a point number of vertices reachable from in
  • 30. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for paths Each vertex is mapped to a point number of vertices reachable from in
  • 31. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for paths Each vertex is mapped to a point number of vertices reachable from in For each , such that add Steiner vertex with coordinates and arc
  • 32. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for paths Each vertex is mapped to a point number of vertices reachable from in For each , such that add Steiner vertex with coordinates and arc Connect Steiner vertices in a bottom-up path
  • 33. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for paths Each vertex is mapped to a point number of vertices reachable from in For each , such that add Steiner vertex with coordinates and arc Connect Steiner vertices in a bottom-up path For each , such that add arc nearest Steiner neighbor with
  • 34. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for paths Each vertex is mapped to a point number of vertices reachable from in For each , such that add Steiner vertex with coordinates and arc Connect Steiner vertices in a bottom-up path For each , such that add arc nearest Steiner neighbor with Use recursion for the sets and Upper Bound: arcs + vertices per recursion level
  • 35. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for paths Each vertex is mapped to a point number of vertices reachable from in For each , such that add Steiner vertex with coordinates and arc Connect Steiner vertices in a bottom-up path For each , such that add arc nearest Steiner neighbor with Use recursion for the sets and Upper Bound: arcs + vertices per recursion level Lower Bound : There are instances for which
  • 36. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for trees Each vertex is mapped to a rectangle depth-first search interval of in
  • 37. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for trees Each vertex is mapped to a rectangle depth-first search interval of in out-tree, out-tree :
  • 38. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for trees Each vertex is mapped to a rectangle depth-first search interval of in in-tree, in-tree :
  • 39. Join-Reachability Graph: Combinatorial Complexity Construction of a compact join-reachability graph for trees Each vertex is mapped to a rectangle depth-first search interval of in out-tree, in-tree :
  • 41. Outline  Graph Reachability  Join-Reachability Problems • Motivation • Preprocessing − Layer Decomposition − Removing Cycles • Join-Reachability Graph − Computational Complexity − Combinatorial Complexity • Join-Reachability Data Structures  Concluding Remarks
  • 42. Join-Reachability Data Structures Collection of graphs Join-Reachability Query : Report all vertices that reach in all graphs (Vertices such that there is a path in all ) Efficiency of a Data Structure: storage space time to report vertices
  • 44. Concluding Remarks More Problems: • Complexity of computing smallest for simple graph classes • Approximate smallest for simple graph classes • Data structures supporting more general join-reachability queries e.g., report all such that and