Giter Club home page Giter Club logo

hyinfluencemin's Introduction

Hypergraph-based Influence Minimization : Influence Minimization Solver for Hypergraph

1, Quick Start

$ git clone [email protected]:masatoshihanai/HyInfluenceMin.git
$ mkdir build; cd build
$ cmake .. ; make

Outline of the Page

  1. Graph data format
  2. How to compile
  3. How to run minimization solver
  4. Related tools
  5. Acknowledgement / Contact

1. Graph data format {#data}

HyMinSolver supports the check-in format provided in SNAP.

#[user] [check-in time]         [latitude]      [longitude]     [location id]
196514  2010-07-24T13:45:06Z    53.3648119      -2.2723465833   145064
196514  2010-07-24T13:44:58Z    53.360511233    -2.276369017    1275991
196514  2010-07-24T13:44:46Z    53.3653895945   -2.2754087046   376497
196514  2010-07-24T13:44:38Z    53.3663709833   -2.2700764333   98503
196514  2010-07-24T13:44:26Z    53.3674087524   -2.2783813477   1043431
196514  2010-07-24T13:44:08Z    53.3675663377   -2.278631763    881734
196514  2010-07-24T13:43:18Z    53.3679640626   -2.2792943689   207763
196514  2010-07-24T13:41:10Z    53.364905       -2.270824       1042822	

2. How to compile {#compile}

First, prepare the standard development tools for C/C++

Requirements: C/C++ compiler Make CMake Git

Next, get the code from github

### get the code from git repository
$ git clone [email protected]:masatoshihanai/HyInfluenceMin.git

Configure and compile

### make new build directory
$ cd HyInfluenceMin
$ mkdir build
$ cd build
### configure and compile
$ cmake ..
$ make

We have successed to compile and run the program in these environments:

Tested Environments
  • Compiler: GCC 7.4
  • OS: Ubuntu 18.04

3. How to run HyMinSolver {#run}

$ ./HyMin [-h] [-v] [-a] [-m <safety measure>] [-s <random seed>] [-r <repeat interval>] [-u time unit] <checkin-file> <# of restriction activities> 

Run with -h for the detail information.

$ ./HyMin -h
 HyMin - Hypergraph-based Influence Minimization Solver
   Usage: $ ./HyMin [-h] [-v] [-a] [-m <safety measure>] [-s <random seed>] [-r <repeat interval>] [-u time unit] <checkin-file> <# of restriction activities> 
      -h: Help
      -v: Verbose. Output details
      -m: Safety Measure type. delete, shrink, or split (default: delete)
      -a: Analyze with MonteCarlo Simulation (default: off) !! Time-Consuming !!
      -s: Random seed (default: 1)
      -r: Repeat interval. weekly or daily (default: weekly) 
      -u: Time unit for activity (hour).  (default: 12). Check-ins within x hours are considered to be the same activity. 

    Example to use:
      $ ./HyMin -v -m delete ../data/brightkite.checkin 100

hyinfluencemin's People

Contributors

masatoshihanai avatar

Stargazers

 avatar

Watchers

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