Counting triangles in a graph
AssigneeOracle International Corporation
InventorsSungpack Hong, Martin Sevenich, Hassan Chafi
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsSungpack Hong, Martin Sevenich, Hassan Chafi
Estimating the term…
Techniques for identifying common neighbors of two nodes in a graph are provided. One technique involves performing a binary split search and/or a linear search. Another technique involves creating a segmenting index for a first neighbor list. A second neighbor list is scanned and, for each node indicated in the second neighbor list, the segmenting index is used to determine whether the node is also indicated in the first neighbor list. Techniques are also provided for counting the number of triangles. One technique involves pruning nodes from neighbor lists based on the node values of the nodes whose neighbor lists are being pruned. Another technique involves sorting the nodes in a node array (and, thus, their respective neighbor lists) based on the nodes' respective degrees prior to identifying common neighbors. In this way, when pruning the neighbor lists, the neighbor lists of the highly connected nodes are significantly reduced.
A method for counting a number of triangles in a graph that comprises a plurality of nodes, the method comprising:
A method comprising:
A method comprising:
One or more non-transitory computer-readable media carrying instructions for counting a number of triangles in a graph that comprises a plurality of nodes, wherein the instructions, when executed by one or more processors, cause:
A system for counting a number of triangles in a graph that comprises a plurality of nodes, the system comprising:
Dependencies are inferred from the claim text.