Skip to content

Source code for the paper "Bandpass Threshold Models for Activation and Influence Propagation in Social Networks"

Notifications You must be signed in to change notification settings

Alexander0/bandpass_threshold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Bandpass Threshold

This repository contains the source code for the paper:

"Bandpass Threshold Models for Activation and Influence Propagation in Social Networks"

Contents

  • main.cpp — Simulation code for the bandpass threshold model
  • data.zip — Example social network datasets

Requirements

This project requires the igraph C library. Please ensure it is installed before compiling the code.

Compilation

g++ main.cpp -std=c++11 -ligraph -o main.out

Execution

./main.out N network.txt seeds.txt

- `N` — Number of nodes in the network
- `network.txt` — File containing the network edges
- `seeds.txt` — File listing the initial seed nodes for activation

About

Source code for the paper "Bandpass Threshold Models for Activation and Influence Propagation in Social Networks"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages