Giter VIP home page Giter VIP logo

quickim's Introduction

QuickIM

QuickIM is a fast algorithm to find top k most influential vertices on a large scale Network.

Files

QuickIM is built under linux gcc 4.8.4

QuickIM.exe is built under win10 gcc 5.3.0

How to use

Graph data format

QuickIM accepts directed graph with probability on the edge.

The first line of the graph data should be N M where N is the total node number and M is the total edge number.

Then the followed M lines are the M directed edges. Each line is u v p that means there is an edge from node u to node v and the probability that u influence v is p. (0<=u, v<N)


Execution

The command format is

./QuickIM <data_filename> <k>

Example

./QuickIM ./data/DBLP_wc.txt 10

Output result

QuickIM use standard output stream to output result. The result include QuickIM algorithm elapsed time, top k nodes.

Example

Execute as

./QuickIM ./data/DBLP_wc.txt 5 >./result/DBLP_wc_5.txt

Result is

[result]
data_file = ./data/DBLP_wc.txt
k = 5
L = 3
QucikIM_time = 0.20864
chosed_node_list = 7276 2289 1255 1299 8740 

quickim's People

Contributors

akaisorani avatar

Watchers

James Cloos avatar Mark 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.