Building and Running RDS Simulations
To Run RDS Simulation code following essentials must be installed on the Linux system:
- R (2.14 and higher)
- SNAP (Version 1.1)
The controller is written as shell script. The script performs two important functions:
- Generate test graphs using ERGM's by calling code in R i.e. rds.r
- Simulate RDS using SNAP library by calling cpp code i.e. statnet.cpp
Steps to run the code:
- Make clean the cpp code: Command--> make clean
- Compile cpp code using Makefile: Command--> make
- Kickstart the controller which automatically calls code in R and cpp: Command--> ./runem1.sh
The code runs for a while depending on the number of simulations and produce output as pdf with box plots for each graph sizes.