Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for counting triangles in large-scale graph with low space overhead

A counting method and triangle technology, applied in computing, digital data processing, other database indexes, etc., can solve the problems of large space cost, time cost, frequent communication, etc., to save space, improve speed, and improve computing efficiency. Effect

Inactive Publication Date: 2020-12-25
SUN YAT SEN UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for various large-scale sparse graphs in the real world, such as social networks, traffic road networks, etc., there are often too many space overheads (for example, single-machine methods cannot handle large-scale graphs) or excessive time overhead (such as random accessing memory or communicating too frequently in a distributed approach) etc.

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
  • Method and system for counting triangles in large-scale graph with low space overhead
  • Method and system for counting triangles in large-scale graph with low space overhead
  • Method and system for counting triangles in large-scale graph with low space overhead

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. For the step numbers in the following embodiments, it is only set for the convenience of illustration and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art sexual adjustment.

[0043] like figure 1 As shown, the present invention provides a method for counting triangles in a large-scale graph with low space overhead, the method comprising the following steps:

[0044] S1. Obtain the data set and construct a directed graph according to the data set to obtain graph data;

[0045] Specifically, first construct an ordered edge set based on the existing data set, express the edge in the form of ordered vertex pairs, and express the edge set in the form of an ordered edge array; then construct a...

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 method and system for counting triangles in a large-scale graph with low space overhead, and the method comprises the steps: obtaining a data set, constructing a directed graph according to the data set, and obtaining graph data; traversing all vertexes in the graph data and putting the vertexes into a preset Bloom sieve according to a preset rule; obtaining two vertexescorresponding to an edge according to the edge in the graph data; and judging that the two vertexes exist in the Bloom sieve, and calculating an intersection of neighbor vertex sets of the two vertexes to obtain the number of triangles corresponding to the side. The system comprises a graph data module, an input module, a vertex module and an intersection module. By using the method and the system, the number of triangles can be quickly calculated from large-scale data under the condition of ensuring low space overhead. The method and the system for counting the triangles in the large-scale graph with low space overhead can be widely applied to the field of large-scale data processing.

Description

technical field [0001] The invention relates to the field of large-scale data processing, in particular to a method and system for counting triangles in a large-scale graph with low space overhead. Background technique [0002] As we use the Internet more and more times in our lives, the increase rate and total amount of various types of data are also increasing day by day. It is even difficult to describe the increase and growth rate of data with words such as "exponential growth" and "massive". However, the speed at which people analyze and process data has failed to keep up with the scale and speed of data growth. The information and value hidden in large-scale data are only the tip of the iceberg that we have discovered and utilized. Therefore, in recent years, the research direction and trend of the Internet is towards how to analyze and process large-scale data. As one of the common and important data structures, graph data can better express the connection between in...

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): G06F16/9035G06F16/901
CPCG06F16/9014G06F16/9024G06F16/9035
Inventor 肖侬牟者斌卢宇彤陈志广
Owner SUN YAT SEN UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More