GitXplorerGitXplorer
D

GPT_lib

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
d487d3005b7486108d02238912c430ba7f03b156

save index list

DDimBer committed 6 years ago
Unverified
470b3f3849bd8a328be18c85cb2445b8b5c7991f

Adding random walk

DDimBer committed 6 years ago
Unverified
8b9150f820056ad40a94dd13c0aa2088e32476a1

Updated readme

DDimBer committed 6 years ago
Unverified
10d706946051ba14e2abbb8b0d86fc4dca8a6e04

Updated readme

DDimBer committed 6 years ago
Unverified
33e2316505934b067c2b99c0f831f03875698c1c

Updated readme

DDimBer committed 6 years ago
Unverified
c391569659fc87cbbc4f0928400eeb7351aaeddc

Updated readme

DDimBer committed 6 years ago

README

The README file for this repository.

OVERVIEW

Graph Preprocessing Toolbox (GPT) : Some useful tools for preprocessign graph data

CONTAINS

  1. Add one (--add_one): Simply adds 1 to indices of nodes that are enumerated from 0 to N-1 (e.g., Enron graph)

  2. Enumerate nodes (--enum_nodes): Uses dictionary to enumerate N nodes who are defined by arbitrary IDs (e.g., CA-CondMat graph) with unique numbers between 1 and N. Enumeration happens with order of parsing.

  3. Compare graphs (--compare): Compares two (enumerated) graphs that have the same set of nodes. Usefull for determining the connectivity changes that occur on time evolving graphs (e.g., vk2016 and vk2017 graphs). Takes as input the initial graph (--graph_before) and graph after changes have occured (--graph_after). Results are stored in user-defined directory (--cmp_out) as 3 .txt files:

    • cmp_out/added_links.txt: Contains edges that are in --graph_after but not in --graph_before.
    • cmp_out/removed_links.txt: Contains edges that are in --graph_before but not in --graph_after.
    • cmp_out/unchanged_links.txt: Contains edges that are present both in both --graph_after and --graph_before.

INPUT FORMAT

ARGUMENTS

Command line optional arguments with values:

ARGUMENT VALUES DEFAULT DESCRIPTION
--graph_file - CA-cond.txt input file
--outfile - out/adj_enum.txt output file
--ind_list - out/ind_list.txt strores map of new indexes (1 to N) to old (values)

Default values can be changed by editing defs.h

Command line optional arguments without values:

ARGUMENT RESULT
--in_place overwrites output on input file