Git Product home page Git Product logo

tcm's Introduction

TCM

Time-Constrained Continuous Subgraph Matching Using Temporal Information for Filtering and Backtracking

Usages

./TCM_network <data_graph_file> <query_graph_file> <window_size> # for Netflow
./TCM_snap <data_graph_file> <query_graph_file> <window_size> # for Wikitalk and Superuser

Experiments in the paper

  • Each script file in scripts directory reproduces the results of the experiments in the paper.
    • netflow_varying_query_size.sh: Figure 7a, 7b
    • wikitalk_varying_query_size.sh: Figure 7c, 7d
    • superuser_varying_query_size.sh: Figure 7e, 7f
    • netflow_varying_density.sh: Figure 8a, 8b
    • wikitalk_varying_density.sh: Figure 8c, 8d
    • superuser_varying_density.sh: Figure 8e, 8f
    • netflow_varying_window_size.sh: Figure 9a, 9b
    • wikitalk_varying_window_size.sh: Figure 9c, 9d
    • superuser_varying_window_size.sh: Figure 9e, 9f
  • The results will be stored in results/<exp_name> directory.

Datasets

Put graph files into datasets directory.

Input File Format

Data graph file format is a text format to store a directed temporal data graph.

  • The first line of the file should be "t # ID".
  • Following lines of "v vertex-ID vertex-label" indicate the vertices in the graph.
    • The vertices should be written in the file in ascending order of their IDs, and a vertex ID should be in [0, #vertices - 1].
  • Edges are represented as follows:
    • Following lines of "e source-ID destination-ID source-port destination-port edge-label sec msec" indicate the edges in the graph for Netflow.
    • Following lines of "e source-ID destination-ID edge-label sec" indicate the edges in the graph for Wikitalk and Superuser.

Query graph file format is a text format to store a directed temporal query graph.

  • The first line of a graph should be "t # s ID".
  • Following lines of "v vertex-ID vertex-label" indicate the vertices in the graph.
  • Edges are represented as follows:
    • Following lines of "e source-ID destination-ID edge-label source-port destination-port" indicate the edges in the graph for Netflow.
    • Following lines of "e source-ID destination-ID edge-label" indicate the edges in the graph for Wikitalk and Superuser.
    • The ID of the $i$-th edge in the file is $i-1$.
  • Following lines of "b edge-ID1 edge-ID2" indicate that the strict partial order edge-ID1 $\prec$ edge-ID2 holds.

tcm's People

Contributors

jihoonjang 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.