Skip to content

Instantly share code, notes, and snippets.

Barun Saha barun-saha

Block or report user

Report or block barun-saha

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@barun-saha
barun-saha / plots.gp
Created Aug 6, 2013
Plotting average delivery ratio with GnuPlot.
View plots.gp
set terminal postscript eps enhanced color solid colortext 9
set output 'del_ratio.eps'
set style fill pattern border
set style histogram errorbars gap 1 lw 3.5
set style data histograms
set boxwidth 0.9
set bars 1
@barun-saha
barun-saha / del_ratio.py
Created Aug 6, 2013
Python script to compute the message delivery ratios together with 95% CI for different scenarios.
View del_ratio.py
#!/usr/bin/python
'''
A simple to compute the delivery ratio of the messages (with 95% CI) under
various scenarios.
'''
__author__ = "Barun Kumar Saha"
__copyright__ = "Copyright 2013, Barun Kumar Saha"
__license__ = "MIT"
@barun-saha
barun-saha / default_settings.txt
Last active Dec 20, 2015
The ONE simulation scenario to compare the performance of Epidemic and SnW for different area sizes.
View default_settings.txt
#
# Performance comparison of Epidemic and Snw for different area dimensions
#
# Group.router: 2
# MovementModel.worldSize: 3
# MovementModel.rngSeed: 5
#
# Total scenarios = 2 * 3 * 5 = 30
#
@barun-saha
barun-saha / _gen_stats.py
Last active Jan 11, 2019
A simple module with a method to get the value of a statistic from the MessageStatsReport of the ONE simulator. Also provides a method to compute the 95% confidence interval from a set of sample values.
View _gen_stats.py
import csv
'''
A simple module with a method to get the value of a statistic from the MessageStatsReport of the ONE simulator. Also provides a method to compute the 95% confidence interval from a set of sample values.
'''
__author__ = "Barun Kumar Saha"
__copyright__ = "Copyright 2013, Barun Kumar Saha"
__license__ = "MIT"
__version__ = "1.0"
You can’t perform that action at this time.