# country-as-hegemony: Measuring AS dependency of a country
## Installation
Requirement: https://github.com/InternetHealthReport/abondance
## Example
To get the AS dependencies of Japan, run the following command:
```
$ python3 country-hege.py JP
# Found 166 eyeball networks in JP on 2019-09-29T00:00:00+00:00
2914, 0.27661613861709505, +
2516, 0.25968996183607757, +
17676, 0.1974546945536009, +
4713, 0.15525111414563947, +
1299, 0.13595634758208053, -
9605, 0.10072894639780244, +
174, 0.08765424779438354, -
2497, 0.06338680212620768, +
9824, 0.05253467345731747, +
2527, 0.03509657300628496, +
```
The '+' represent eyeball networks, the '-' are transit networks. These results are biasied towards big eyeballs networks.
The -r option remove eyeballs networks from the AS hegemony computation.
```
$ python3 country-hege.py JP -r
# Found 166 eyeball networks in JP on 2019-09-29T00:00:00+00:00
2914, 0.27580372217582483, +
1299, 0.13595634758208053, -
174, 0.08765424779438354, -
2516, 0.05994903574329003, +
2497, 0.04637372262121612, +
3356, 0.027235210986714956, -
9824, 0.021176697891166645, +
3491, 0.0191735214924131, -
2519, 0.01604299099396895, +
3257, 0.01316708668625293, -
```
## References
This is a follow up of the work done at APRICOT19 Hackathon: https://github.com/munhyunsu/APRICOT19
AS Hegemony: https://ihr.iijlab.net/ihr/hegemony/
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共10个文件
txt:4个
pkg-info:2个
py:1个
资源分类:Python库 所属语言:Python 资源全名:country-as-hegemony-0.1.0.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源详情
资源评论
资源推荐
收起资源包目录
country-as-hegemony-0.1.0.tar.gz (10个子文件)
country-as-hegemony-0.1.0
PKG-INFO 2KB
country-hege 5KB
country_as_hegemony.egg-info
PKG-INFO 2KB
requires.txt 24B
SOURCES.txt 245B
top_level.txt 1B
dependency_links.txt 1B
setup.cfg 38B
setup.py 597B
README.md 1KB
共 10 条
- 1
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 背景music,用作业网轮地址
- comment_6e56cd5d6e140046ef1cd248910ea5ca.png
- 基于卷积神经网络的自动驾驶系统的设计与实现
- MySQL的执行原理-2.md
- 基于 FCN 网络对无人机俯拍下的生活场景语义分割(12类别)【包含数据集、完整代码、训练好的结果、权重文件等等】
- CISCN2024-re3-rust-baby(Frida多字节程序插桩爆破)
- soft:磁盘清理工具
- .netcore控制台使用Nssm打包windows服务,加winform管理服务界面
- db-college.sql
- wpf-dragdrop-treeview(WPF较好拖拽效果).7z
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0