Giter Club home page Giter Club logo

stefanogenettiunitn / influence-maximization-based-on-threshold-model-in-hypergraphs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qdragon18/influence-maximization-based-on-threshold-model-in-hypergraphs

0.0 0.0 0.0 1.2 MB

The HCI-TM algorithm (Hypergraph-based Threshold Model) is a threshold propagation algorithm based on the hypergraph model, designed to identify the node set with maximum influence. And the open source code includes hypergraph building module, threshold propagation module, HCI1-TM algorithm module and HCI2-TM algorithm module.

C++ 100.00%

influence-maximization-based-on-threshold-model-in-hypergraphs's Introduction

Influence Maximization based on Threshold Model in Hypergraphs

HCI-TM-algorithm

The HCI-TM algorithm (Hypergraph-based Threshold Model) is a threshold propagation algorithm based on the hypergraph model, designed to identify the node set with maximum influence. And the open source code includes hypergraph building module, threshold propagation module, HCI1-TM algorithm module and HCI2-TM algorithm module.

For more details, please refer the following paper:

Renquan Zhang, Xilong Qu, Qiang Zhang, Xirong Xu, Sen Pei; Influence maximization based on threshold models in hypergraphs. Chaos 1 February 2024; 34 (2): 023111. https://doi.org/10.1063/5.0178329

About File

Files are presented in there folder, where the folder 'code' contains file 'OpenCode.cpp', including hypergraph building module, threshold propagation module, HCI1-TM algorithm module and HCI2-TM algorithm module, the folder 'data' contains 8 real-world networks using in this paper and the folder 'test' is the test file for the project. In folder 'data', the hypergraph is stored in the txt file. Each line in the file represents a hyperedge, the fisrst number represent the hyperedge id, other positive numbers represent the node id, and -1 represents the end of the hyperedge. In folder 'test', the file 'hypergraph-2-ER-10000-3000.txt' stored a ER hypergraph with 8751 nodes and 2993 hyperedges, the file 'Record-Detail-Tr0.5.txt' stored the proportion of seed nodes and the activation proportion of nodes in the activation process of HCI1-TM algorithm and HCI2-TM algorithm when threshold is set to 0.5, the file 'Record-HCI-Tr0.5.txt' stored the HCI1 and HCI2 of the seed node, the file 'Record-Tr0.5.txt' stored the number of seed, the runing time and the proportion of seed of HCI1-TM and HCI2-TM algorithm, the file 'Record-HCI1TM-SeedSet-Tr0.5.txt' and 'Record-HCI2TM-SeedSet-Tr0.5.txt' stored seed set selected by HCI1-TM algorithm and HCI2-TM algorithm.

Contact

If you have any question about the paper or the code, please contact us. Xilong Qu, [[email protected]]

Please cite that paper if you use this code. Thanks!

influence-maximization-based-on-threshold-model-in-hypergraphs's People

Contributors

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