Triangle Counting in Large Sparse Graph

碩士 === 國立臺灣大學 === 資訊工程學研究所 === 96 === In this paper, we develop a new algorithm to count the number of triangles in a graph $G(n, m)$. The latest efficient algorithm, Forward Algorithm, needs $O(m^{3/2})$ basic instructions'' execution time and $Theta(m)$ memory space. With the combination...

Full description

Bibliographic Details
Main Authors: Meng-Tsung Tsai, 蔡孟宗
Other Authors: Pangfeng Liu
Format: Others
Language:en_US
Published: 2008
Online Access:http://ndltd.ncl.edu.tw/handle/22539959799403941512
id ndltd-TW-096NTU05392099
record_format oai_dc
spelling ndltd-TW-096NTU053920992016-05-11T04:16:51Z http://ndltd.ncl.edu.tw/handle/22539959799403941512 Triangle Counting in Large Sparse Graph 巨圖中三角子圖數的快速計算及其應用 Meng-Tsung Tsai 蔡孟宗 碩士 國立臺灣大學 資訊工程學研究所 96 In this paper, we develop a new algorithm to count the number of triangles in a graph $G(n, m)$. The latest efficient algorithm, Forward Algorithm, needs $O(m^{3/2})$ basic instructions'' execution time and $Theta(m)$ memory space. With the combination of the well-known Four-Russians'' Algorithm, we obtain an algorithm that requires $O(m^{3/2}/log^{1/2} m)$ execution of the population count procedure using $Theta(m)$ memory space. Some CPUs support population count directly. In such cases, the population count can be executed with one instruction; otherwise, an alternative method should be employed. The known best one is named as extit{bitwise twiddling} method, which can be executed with $Theta(log^{(2)}g)$ basic instructions. Owing to it is not necessary to exactly know the result of each population count, we can replace each population count with an amortized population count. Therefore, we also develop an efficient algorithm to fast execute the amortized population count. Based on the theoretic analysis, we conclude that the amortized population count can be executed with $o(log^{(3)}g)$ basic instructions. Besides, the experiment result also shows the performance of our amortized population count is better than others. As a result, our triangle counting algorithm is faster than the previous known best one by a factor $omega(g^{1/2} / log^{(3)} g)$ where $g = Omega(log m)$. Pangfeng Liu 劉邦鋒 2008 學位論文 ; thesis 31 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立臺灣大學 === 資訊工程學研究所 === 96 === In this paper, we develop a new algorithm to count the number of triangles in a graph $G(n, m)$. The latest efficient algorithm, Forward Algorithm, needs $O(m^{3/2})$ basic instructions'' execution time and $Theta(m)$ memory space. With the combination of the well-known Four-Russians'' Algorithm, we obtain an algorithm that requires $O(m^{3/2}/log^{1/2} m)$ execution of the population count procedure using $Theta(m)$ memory space. Some CPUs support population count directly. In such cases, the population count can be executed with one instruction; otherwise, an alternative method should be employed. The known best one is named as extit{bitwise twiddling} method, which can be executed with $Theta(log^{(2)}g)$ basic instructions. Owing to it is not necessary to exactly know the result of each population count, we can replace each population count with an amortized population count. Therefore, we also develop an efficient algorithm to fast execute the amortized population count. Based on the theoretic analysis, we conclude that the amortized population count can be executed with $o(log^{(3)}g)$ basic instructions. Besides, the experiment result also shows the performance of our amortized population count is better than others. As a result, our triangle counting algorithm is faster than the previous known best one by a factor $omega(g^{1/2} / log^{(3)} g)$ where $g = Omega(log m)$.
author2 Pangfeng Liu
author_facet Pangfeng Liu
Meng-Tsung Tsai
蔡孟宗
author Meng-Tsung Tsai
蔡孟宗
spellingShingle Meng-Tsung Tsai
蔡孟宗
Triangle Counting in Large Sparse Graph
author_sort Meng-Tsung Tsai
title Triangle Counting in Large Sparse Graph
title_short Triangle Counting in Large Sparse Graph
title_full Triangle Counting in Large Sparse Graph
title_fullStr Triangle Counting in Large Sparse Graph
title_full_unstemmed Triangle Counting in Large Sparse Graph
title_sort triangle counting in large sparse graph
publishDate 2008
url http://ndltd.ncl.edu.tw/handle/22539959799403941512
work_keys_str_mv AT mengtsungtsai trianglecountinginlargesparsegraph
AT càimèngzōng trianglecountinginlargesparsegraph
AT mengtsungtsai jùtúzhōngsānjiǎozitúshùdekuàisùjìsuànjíqíyīngyòng
AT càimèngzōng jùtúzhōngsānjiǎozitúshùdekuàisùjìsuànjíqíyīngyòng
_version_ 1718265583061958656