文件名称:load-balance-agents
文件大小:67KB
文件格式:ZIP
更新时间:2024-04-19 16:05:09
Python
负载均衡代理 运行模拟 可以通过启动router-game.py来运行仿真。 python3 router-game.py 配置 系统默认情况下设置了以下常量(可以在Node.py文件中找到): THROUGHPUT_META_MEAN = 100 # the mean of the Gaussian from which the throu THROUGHPUT_META_STD = 10 MAX_PERSISTENCE = 7 MIN_PERSISTENCE = 1 PACKETS_STD_MEAN = THROUGHPUT_META_STD MARIAN_CONSTANT = 3.0 ALPHA = 2 BETA = 0.01 THROUGHPUT_META_MEAN 从中得出节点吞吐量2的高斯平均值。THROUGHPUT_META_STD 从中得出节点吞吐量的高斯平均值 MA
【文件预览】:
load-balance-agents-master
----Coalition.py(2KB)
----movie.sh(173B)
----new-router.py(3KB)
----graph_writer.py(1KB)
----images()
--------dropped_packets_15_agents_3_coalition_30_steps.png(18KB)
--------coalitions.png(21KB)
--------cost_history_15_agents_3_coalition_30_steps.png(27KB)
----Game.py(7KB)
----__init__.py(0B)
----router-game.py(1KB)
----README.md(1KB)
----Node.py(6KB)
----.gitignore(1KB)