GithubHelp home page GithubHelp logo

graph-stream-sketch's Introduction

Fast and Accurate Graph Stream Summarization

GSS.h

Graph Stream Sketch user interface:

  • insert: Insert one item
  • edgeQuery: Edge Query
  • transquery: Reachability Query
  • nodeValueQuery: Node Value Query to compute the summary of the weights of all edges with s1. When s1 is the source node,type = 0. s1 is the destination node,type = 1.
  • nodeDegreeQuery: Node Degree Query to compute the number of the precursors(type=1)/successors(type=0) of s1.
  • nodeSuccessorQuery: Query for the successor of a given node
  • nodePrecursorQuery: Query for the precursor of a given node
  • TriangleCouning: Count the number of triangles in a graph Details can be seen in the comments in the code

GSS_label.h

Graph Stream Sketch for subgraph matching, revised a bit for label storage. It takes integer as node ID and labels. The node ID should be int type from 1 to n where n is the number of nodes, so is the queried graph. ID map may be needed when using it.

TCM.h

TCM user interface:

  • insert : Insert one item
  • edgeQuery(string s1, string s2) : Edge Query
  • transquery: Reachability Query
  • nodeValueQuery: Node Value Query to compute the summary of the weights of all edges with s1. When s1 is the source node,type = 0. s1 is the destination node,type = 1.
  • nodeDegreeQuery: Node Degree Query to compute the number of the precursors(type=1)/successors(type=0) of s1.

ListGraph.h

Adjacency list to store graph

hashfunction.h

hashfunction

hashTable.h

hashTable

The code of TRIEST in experiment of the paper is downloaded from https://github.com/aepasto/triest provided by the authors. The code for SJtree is on https://github.com/Puppy95/timingsubg. Further arrangement of the code will be made before publication.

graph-stream-sketch's People

Contributors

puppy95 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.