Skip to content
punkcpp edited this page Sep 1, 2016 · 14 revisions
Code Repository Specification

InfluenceMaximization: algorithms in C# (.NET or Mono is required for compiling the project)

ConfigFilesExamples: configuration examples

data_utils: data preprocessing files in Python

Preprocess Data

  1. Data transformation

    data_stat.py: transform the original data from SNAP and get graph statistics information.

    def graph_reform(infile, outfile, head_skip)
  2. Seed probability functions assignment

    func_rand_assign.py: assign discounts to users with configurable probability.

    def func_rand_assign(outfile, numnodes)

    The assignments of seed probability functions used in our experiments can be found HERE.

Run Framework

  1. Use the examples in ConfigFilesExamples to write a config file.

    The config files we used in our paper can be download HERE.

  2. Execute the compiled executable file (e.g., .exe) to read the config file (examples) to run the experiment.