Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Directed digraph strongly-connected component analysis method based on MapReduce

A technology of connected components and analysis methods, which is applied in the field of strongly connected components analysis of directed graphs based on MapReduce, can solve problems affecting algorithm operation efficiency and long processing time, and achieve avoiding the risk of repeated calculations, reducing complexity, reducing The effect of calculation volume

Inactive Publication Date: 2016-06-01
NANJING UNIV OF POSTS & TELECOMM
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This algorithm effectively solves the problem of strongly connected components of large-scale directed graphs, but each iteration requires reverse operations on the graph, and at the same time needs to calculate and update node label information twice. Many scholars believe that this will affect the performance of the algorithm. Computational efficiency, longer processing time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Directed digraph strongly-connected component analysis method based on MapReduce
  • Directed digraph strongly-connected component analysis method based on MapReduce

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail:

[0026] Such as figure 1 As shown, an improved MapReduce-based method for strongly connected component analysis of directed graphs, when calculating the strongly connected components of large-scale directed graphs, simultaneously processes the connectivity labels of outgoing edges and incoming edges, avoiding reverse operations, And set the processing state of the edge to prevent repeated calculation, thereby reducing the calculation amount of the algorithm and improving the operation efficiency.

[0027] The specific process includes the following steps: (such as figure 1 )

[0028] Step 1, let {N i} is the node set of graph G to be processed, where N i is the i-th node in graph G, i∈[1,n], n is the total number of nodes; for any node N i All incoming and outgoing edges of , expressed as (nodeid,adjnodeid,label,status) in quadruples, where nod...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a directed digraph strongly-connected component analysis method based on MapReduce. The method includes the following steps that firstly, a sub-node is randomly selected in a digraph, a label of an output edge of the sub-node and a label of an input edge of the sub-node are set as +1 and -1 respectively, a to-be-processed state is set, and the edges are represented according to four-tuples; then, labels of neighbor nodes of the edges in the to-be-processed state are set to be +1 and -1 by a Map function according to the type of the output edge and the type of the input edge; the edges with the same node identifier are recorded and form a set by a Reduce function, the states of the edges are updated into non-processed labels and states; the Map function and the Reduce function are executed circularly till no edges in the to-be-processed state exist, and corresponding nodes containing the labels of +1 and -1 belong to the same strongly-connected component; nodes of the component are deleted from the digraph, and the steps are repeated till the digraph is empty. In the computing process, the labels of the output edge and the input edge are processed at the same time, the states of the edges are set, reverse operation and repeated calculation are avoided, and therefore the calculation quantity is reduced, and the analysis efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of parallel computing, in particular to a method for analyzing strongly connected components of directed graphs based on MapReduce. Background technique [0002] With the rise of network science, analysis methods based on network and graph mining have received more and more attention, and have been widely used in various fields of physics, biology, political economy, Internet, engineering development, and social life. In the past decade, researchers have abstracted real-world data into graphs, and used methods from graph theory, data mining, machine learning, pattern classification, information retrieval, and statistical inference to reveal hidden patterns and interaction rules behind the data. , thus providing people with an unprecedented understanding of cognitive objects. At the same time, with the development of the information industry and the whole society, more and more data are collected. Another ch...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F19/00
CPCG16Z99/00
Inventor 吴家皋韦光李云
Owner NANJING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products